Skip to content

Commit 5dc6257

Browse files
committed
Adjust unit test to allow for new field type enum
1 parent 87a1ff5 commit 5dc6257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_shapefile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ def test_reader_fields():
695695

696696
field = fields[0]
697697
assert isinstance(field[0], str) # field name
698-
assert field[1] in ["C", "N", "F", "L", "D", "M"] # field type
698+
assert field[1].name in ["C", "N", "F", "L", "D", "M"] # field type
699699
assert isinstance(field[2], int) # field length
700700
assert isinstance(field[3], int) # decimal length
701701

0 commit comments

Comments
 (0)