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

Function test_parser

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

Source from the content-addressed store, hash-verified

107
108@pytest.mark.parametrize("parsable_text,expected_datetime,assertion_message", PARSER_TEST_CASES)
109def test_parser(parsable_text, expected_datetime, assertion_message):
110 assert parse(parsable_text) == expected_datetime, assertion_message
111
112
113# 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