Skip to content

Commit ce29bba

Browse files
committed
chore: docstring
surfaced when running `prek` one last time.
1 parent dccced0 commit ce29bba

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

tests/test_local_offline.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1587,7 +1587,14 @@ def test_osm_filters() -> None:
15871587

15881588

15891589
def test_pbf(monkeypatch: pytest.MonkeyPatch) -> None:
1590-
"""Test loading a graph from fake PBF data."""
1590+
"""
1591+
Test loading a graph from fake PBF data.
1592+
1593+
Parameters
1594+
----------
1595+
monkeypatch
1596+
Pytest fixture used to swap in a fake osmium module.
1597+
"""
15911598
monkeypatch.setattr(pbf, "osmium", _FakeOsmium)
15921599
G = ox.graph_from_pbf("fake.osm.pbf", network_type="walk", simplify=False, retain_all=True)
15931600
response_json = pbf._overpass_json_from_pbf(

0 commit comments

Comments
 (0)