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

Method testAMPMRange

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

Source from the content-addressed store, hash-verified

475 parse("Jan 20, 2015 PM")
476
477 def testAMPMRange(self):
478 with pytest.raises(ParserError):
479 parse("13:44 AM")
480
481 with pytest.raises(ParserError):
482 parse("January 25, 1921 23:13 PM")
483
484 def testPertain(self):
485 self.assertEqual(parse("Sep 03", default=self.default),

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected