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

Method testRandomFormat24

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

Source from the content-addressed store, hash-verified

542 self.assertEqual(res, datetime(1945, 1, 29, 14, 45))
543
544 def testRandomFormat24(self):
545 self.assertEqual(parse("0:00 PM, PST", default=self.default,
546 ignoretz=True),
547 datetime(2003, 9, 25, 12, 0))
548
549 def testRandomFormat26(self):
550 with pytest.warns(UnknownTimezoneWarning):

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected