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

Method testParseWithNulls

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

Source from the content-addressed store, hash-verified

441 assert res == expected
442
443 def testParseWithNulls(self):
444 pstring = '\x00\x00August 29, 1924'
445
446 assert parse(pstring) == datetime(1924, 8, 29)
447
448 def testDateCommandFormat(self):
449 self.assertEqual(parse("Thu Sep 25 10:36:28 BRST 2003",

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected