Skip to content

Commit b9d6575

Browse files
committed
Add ?raw=true after Github URL
1 parent 7fb5e54 commit b9d6575

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test_shapefile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ def test_reader_url_itershaperecords_ONHM_shapefiles(shp):
549549
"""
550550
if not shp.endswith(".shp"):
551551
shp = f"{shp}.shp"
552-
with shapefile.Reader(f"{ONHM_URL_PREFIX}/{shp}") as sf:
552+
with shapefile.Reader(f"{ONHM_URL_PREFIX}/{shp}?raw=true") as sf:
553553
for _shaperec in sf.iterShapeRecords():
554554
pass
555555

0 commit comments

Comments
 (0)