MCPcopy Index your code
hub / github.com/python-visualization/folium / test_validate_locations_exceptions

Function test_validate_locations_exceptions

tests/test_utilities.py:114–117  ·  view source on GitHub ↗

Test input that should raise an exception.

(locations)

Source from the content-addressed store, hash-verified

112 ],
113)
114def test_validate_locations_exceptions(locations):
115 """Test input that should raise an exception."""
116 with pytest.raises((TypeError, ValueError)):
117 validate_locations(locations)
118
119
120def test_if_pandas_df_convert_to_numpy():

Callers

nothing calls this directly

Calls 1

validate_locationsFunction · 0.90

Tested by

no test coverage detected