Skip to content

Commit 62eeb45

Browse files
committed
test - Remove Py2 and fix import
- Remove Python2 support from tests - Fix update import
1 parent 60a37d9 commit 62eeb45

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/test_export.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
import pytest
22

33
import overpy
4-
from overpy import PY2
54
from overpy.format import geojson, osm_xml
65

7-
from tests.base_class import read_file
6+
from tests import read_file
87

9-
if PY2:
10-
from StringIO import StringIO
11-
else:
12-
from io import StringIO
8+
from io import StringIO
139

1410

1511
class TestGeoJSON(object):

0 commit comments

Comments
 (0)