MCPcopy
hub / github.com/celery/celery / test_parse_iso8601_invalid_string

Function test_parse_iso8601_invalid_string

t/unit/utils/test_iso8601.py:43–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41
42
43def test_parse_iso8601_invalid_string():
44 with pytest.raises(ValueError, match="unable to parse date string"):
45 parse_iso8601("invalid-date-string")
46
47
48def test_parse_iso8601_malformed_strings():

Callers

nothing calls this directly

Calls 2

parse_iso8601Function · 0.90
raisesMethod · 0.45

Tested by

no test coverage detected