From 546412e6731e5e31b8450c35e3dae8ec26bc008c Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Mon, 14 Aug 2017 11:32:37 +0200 Subject: Fixed #28495 -- Converted GDAL Feature.fields to strings --- tests/gis_tests/gdal_tests/test_ds.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/gis_tests/gdal_tests/test_ds.py b/tests/gis_tests/gdal_tests/test_ds.py index 0cf0abdc70..535aba70fb 100644 --- a/tests/gis_tests/gdal_tests/test_ds.py +++ b/tests/gis_tests/gdal_tests/test_ds.py @@ -195,6 +195,7 @@ class DataSourceTest(unittest.TestCase): # Making sure we get the proper OGR Field instance, using # a string value index for the feature. self.assertIsInstance(feat[k], v) + self.assertIsInstance(feat.fields[0], str) # Testing Feature.__iter__ for fld in feat: -- cgit v1.3