Skip to content

Commit 1cd4beb

Browse files
author
Martin Journois
committed
Fix test_geo_json_str
1 parent 49fa206 commit 1cd4beb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_folium.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ def test_geo_json_str(self):
396396

397397
# Verify the geo_json object
398398
obj_temp = jinja2.Template("""
399-
var {{ this.get_name() }} = L.geoJson({{ json.dumps(this.data) }})
399+
var {{ this.get_name() }} = L.geoJson({{ this.style_data() }})
400400
.addTo({{ this._parent.get_name() }});
401401
{{ this.get_name() }}.setStyle(function(feature) {return feature.properties.style;});
402402
""")

0 commit comments

Comments
 (0)