MCPcopy Create free account
hub / github.com/dateutil/dateutil / test_parser

Function test_parser

tests/test_parser.py:107–108  ·  view source on GitHub ↗
(parsable_text, expected_datetime, assertion_message)

Source from the content-addressed store, hash-verified

105
106@pytest.mark.parametrize("parsable_text,expected_datetime,assertion_message", PARSER_TEST_CASES)
107def test_parser(parsable_text, expected_datetime, assertion_message):
108 assert parse(parsable_text) == expected_datetime, assertion_message
109
110
111# Parser test cases using datetime(2003, 9, 25) as a default.

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected