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

Method testAMPMRange

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

Source from the content-addressed store, hash-verified

487 parse("Jan 20, 2015 PM")
488
489 def testAMPMRange(self):
490 with pytest.raises(ParserError):
491 parse("13:44 AM")
492
493 with pytest.raises(ParserError):
494 parse("January 25, 1921 23:13 PM")
495
496 def testPertain(self):
497 self.assertEqual(parse("Sep 03", default=self.default),

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected