Skip to content

Commit

Permalink
chore: satisfy refurb
Browse files Browse the repository at this point in the history
  • Loading branch information
Calychas committed Mar 14, 2023
1 parent 8cfa0a1 commit eae5b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/loaders/osm_way_loader/test_osm_way_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def patched_graph_from_polygon(*args, **kwargs) -> Any: # type: ignore
file_name = name_hashed + ".pkl"
file_path = files_path / file_name

with open(file_path, "rb") as f:
with file_path.open("rb") as f:
res = pkl.load(f)

return res
Expand Down

0 comments on commit eae5b06

Please sign in to comment.