Skip to content

Commit c9a5023

Browse files
mjrenomjreno
andauthored
fix test_modpathfile (#2586)
Co-authored-by: mjreno <[email protected]>
1 parent 05c5745 commit c9a5023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autotest/test_modpathfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def test_write_shapefile(function_tmpdir, mp7_small, longfieldname):
334334
fieldname = "newfield" + ("longname" if longfieldname else "")
335335
fieldval = "x"
336336
pathlines = [
337-
rfn.append_fields(pl, fieldname, list(repeat(fieldval, len(pl))), dtypes="|S1")
337+
rfn.append_fields(pl, fieldname, list(repeat(fieldval, len(pl))), dtypes="|U1")
338338
for pl in pathlines
339339
]
340340

0 commit comments

Comments
 (0)