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

Method testDateCommandFormat

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

Source from the content-addressed store, hash-verified

451 assert parse(pstring) == datetime(1924, 8, 29)
452
453 def testDateCommandFormat(self):
454 self.assertEqual(parse("Thu Sep 25 10:36:28 BRST 2003",
455 tzinfos=self.tzinfos),
456 datetime(2003, 9, 25, 10, 36, 28,
457 tzinfo=self.brsttz))
458
459 def testDateCommandFormatReversed(self):
460 self.assertEqual(parse("2003 10:36:28 BRST 25 Sep Thu",

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected