Skip to content

Commit 6885e86

Browse files
committed
Add test_reader_zip_polyylinez_no_m_itershaperecords (depends on REL.zip)
1 parent e40495e commit 6885e86

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

test_shapefile.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1475,6 +1475,14 @@ def test_shaperecord_record():
14751475
assert record[1:3] == ["060750601001", 4715]
14761476

14771477

1478+
def test_reader_zip_polyylinez_no_m_itershaperecords():
1479+
"""
1480+
Test Polylinez Shapes can be read, even if the m field is missing.
1481+
"""
1482+
with shapefile.Reader("../tmp/REL.zip") as sf:
1483+
_shaperec = next(sf.iterShapeRecords())
1484+
1485+
14781486
def test_write_field_name_limit(tmpdir):
14791487
"""
14801488
Abc...

0 commit comments

Comments
 (0)