summaryrefslogtreecommitdiff
path: root/tests/gis_tests/geos_tests/test_io.py
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2016-12-29 16:27:49 +0100
committerClaude Paroz <claude@2xlibre.net>2017-01-18 20:18:46 +0100
commit7b2f2e74adb36a4334e83130f6abc2f79d395235 (patch)
tree313387ba6a6f1311b43cf5fb4f2576d2d6c4f805 /tests/gis_tests/geos_tests/test_io.py
parentf6acd1d271122d66de8061e75ae26137ddf02658 (diff)
Refs #23919 -- Removed six.<various>_types usage
Thanks Tim Graham and Simon Charette for the reviews.
Diffstat (limited to 'tests/gis_tests/geos_tests/test_io.py')
-rw-r--r--tests/gis_tests/geos_tests/test_io.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/gis_tests/geos_tests/test_io.py b/tests/gis_tests/geos_tests/test_io.py
index 81e0ff357f..98b2aba3b4 100644
--- a/tests/gis_tests/geos_tests/test_io.py
+++ b/tests/gis_tests/geos_tests/test_io.py
@@ -6,7 +6,6 @@ from django.contrib.gis.geos import (
WKTWriter,
)
from django.test import SimpleTestCase
-from django.utils.six import memoryview
@skipUnless(HAS_GEOS, "Geos is required.")
@@ -25,7 +24,7 @@ class GEOSIOTest(SimpleTestCase):
for geom in (g1, g2):
self.assertEqual(ref, geom)
- # Should only accept six.string_types objects.
+ # Should only accept string objects.
with self.assertRaises(TypeError):
wkt_r.read(1)
with self.assertRaises(TypeError):