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

Method testAMPMNoHour

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

Source from the content-addressed store, hash-verified

480 tzinfo=tzoffset(None, 10800)))
481
482 def testAMPMNoHour(self):
483 with pytest.raises(ParserError):
484 parse("AM")
485
486 with pytest.raises(ParserError):
487 parse("Jan 20, 2015 PM")
488
489 def testAMPMRange(self):
490 with pytest.raises(ParserError):

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected