diff --git a/issues_geometry/tests/test_geo_api.py b/issues_geometry/tests/test_geo_api.py index 220643c..f9c5e55 100644 --- a/issues_geometry/tests/test_geo_api.py +++ b/issues_geometry/tests/test_geo_api.py @@ -86,8 +86,6 @@ @pytest.mark.parametrize('geometry_data', [None, AURAJOKIRANTA_GEOJSON, AURAJOKIRANTA_GEOJSON['geometry']]) def test_post_geometry(random_service, mf_api_client, geometry_data): - if sys.version_info[0] == 2 and mf_api_client.format != 'json': - pytest.xfail('unsupported') from issues_geometry.models import IssueGeometry post_data = { 'extensions': 'geometry', diff --git a/issues_hel/tests/test_import.py b/issues_hel/tests/test_import.py index 63188fb..5e3ff63 100644 --- a/issues_hel/tests/test_import.py +++ b/issues_hel/tests/test_import.py @@ -6,9 +6,6 @@ from issues.sync.down import update_local_issue -if sys.version_info[0] == 2: # pragma: no cover - from codecs import open - @pytest.mark.django_db def test_import_taskful_georeport(): diff --git a/issues_media/tests/test_issue_media.py b/issues_media/tests/test_issue_media.py index 7feaf59..df87711 100644 --- a/issues_media/tests/test_issue_media.py +++ b/issues_media/tests/test_issue_media.py @@ -21,9 +21,6 @@ def test_post_media(mf_api_client, random_service): - if sys.version_info[0] == 2 and mf_api_client.format in ('xml', 'sjson'): - pytest.xfail('this test is somehow broken on Py2') - files = [ ContentFile(content=VERY_SMALL_JPEG, name="x%d.jpg" % x) for x in range(3)