diff options
| author | Claude Paroz <claude@2xlibre.net> | 2017-08-14 11:32:37 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2017-08-15 19:31:22 +0200 |
| commit | 546412e6731e5e31b8450c35e3dae8ec26bc008c (patch) | |
| tree | eb2e81780912b26299cf7d89af1c57fa78c57ebd /tests | |
| parent | 41640760dfb2f0fddd2598ab7078e037578fc14b (diff) | |
Fixed #28495 -- Converted GDAL Feature.fields to strings
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/gis_tests/gdal_tests/test_ds.py | 1 |
1 files changed, 1 insertions, 0 deletions
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: |
