mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Fixed #28495 -- Converted GDAL Feature.fields to strings
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user