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

Function test_rounding_floatlike_strings

tests/test_parser.py:950–951  ·  view source on GitHub ↗
(dtstr, dt)

Source from the content-addressed store, hash-verified

948 ('5.6s', datetime(2003, 9, 25, 0, 0, 5, 600000))
949])
950def test_rounding_floatlike_strings(dtstr, dt):
951 assert parse(dtstr, default=datetime(2003, 9, 25)) == dt
952
953
954@pytest.mark.parametrize('value', ['1: test', 'Nan'])

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected