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

Function test_parser_default

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

Source from the content-addressed store, hash-verified

164
165@pytest.mark.parametrize("parsable_text,expected_datetime,assertion_message", PARSER_DEFAULT_TEST_CASES)
166def test_parser_default(parsable_text, expected_datetime, assertion_message):
167 assert parse(parsable_text, default=datetime(2003, 9, 25)) == expected_datetime, assertion_message
168
169
170@pytest.mark.parametrize('sep', ['-', '.', '/', ' '])

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected