Skip to content

Commit

Permalink
test - Remove Py2 and fix import
Browse files Browse the repository at this point in the history
- Remove Python2 support from tests
- Fix update import
  • Loading branch information
phibos committed Apr 22, 2021
1 parent 60a37d9 commit 62eeb45
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/test_export.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
import pytest

import overpy
from overpy import PY2
from overpy.format import geojson, osm_xml

from tests.base_class import read_file
from tests import read_file

if PY2:
from StringIO import StringIO
else:
from io import StringIO
from io import StringIO


class TestGeoJSON(object):
Expand Down

0 comments on commit 62eeb45

Please sign in to comment.