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

Method testRandomFormat26

tests/test_parser.py:537–541  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

535 datetime(2003, 9, 25, 12, 0))
536
537 def testRandomFormat26(self):
538 with pytest.warns(UnknownTimezoneWarning):
539 res = parse("5:50 A.M. on June 13, 1990")
540
541 self.assertEqual(res, datetime(1990, 6, 13, 5, 50))
542
543 def testUnspecifiedDayFallback(self):
544 # Test that for an unspecified day, the fallback behavior is correct.

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected