Skip to content

Commit 04df30e

Browse files
committed
ogr_and_shape_geometries_tesr -- upgrade to latest APIs
1 parent f42ef32 commit 04df30e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/python_tests/ogr_and_shape_geometries_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ def setup():
2929
def ensure_geometries_are_interpreted_equivalently(filename):
3030
ds1 = mapnik.Ogr(file=filename, layer_by_index=0)
3131
ds2 = mapnik.Shapefile(file=filename)
32-
fs1 = ds1.featureset()
33-
fs2 = ds2.featureset()
32+
fs1 = iter(ds1)
33+
fs2 = iter(ds2)
3434
count = 0
3535
for feat1, feat2 in zip(fs1, fs2):
3636
count += 1

0 commit comments

Comments
 (0)