MCPcopy
hub / github.com/python-visualization/folium / test_validate_location_exceptions

Function test_validate_location_exceptions

tests/test_utilities.py:63–66  ·  view source on GitHub ↗

Test input that should raise an exception.

(location)

Source from the content-addressed store, hash-verified

61 ],
62)
63def test_validate_location_exceptions(location):
64 """Test input that should raise an exception."""
65 with pytest.raises((TypeError, ValueError)):
66 validate_location(location)
67
68
69@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

validate_locationFunction · 0.90

Tested by

no test coverage detected