Skip to content

Commit 00a1dfe

Browse files
author
Martin Journois
committed
Fix path issue in test_topo_json
1 parent 80be994 commit 00a1dfe

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/test_folium.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -459,11 +459,9 @@ def test_topo_json(self):
459459

460460
self.map = folium.Map([43, -100], zoom_start=4)
461461

462-
path = os.path.join(rootpath, 'us-counties.json')
463-
464462
# Adding TopoJSON as additional layer.
465-
path_2 = 'or_counties_topo.json'
466-
self.map.geo_json(geo_path=path_2, topojson='objects.or_counties_geo')
463+
path = os.path.join(rootpath, 'or_counties_topo.json')
464+
self.map.geo_json(geo_path=path, topojson='objects.or_counties_geo')
467465

468466
out = self.map._parent.render()
469467

0 commit comments

Comments
 (0)