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

Method testAMPMNoHour

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

Source from the content-addressed store, hash-verified

468 tzinfo=tzoffset(None, 10800)))
469
470 def testAMPMNoHour(self):
471 with pytest.raises(ParserError):
472 parse("AM")
473
474 with pytest.raises(ParserError):
475 parse("Jan 20, 2015 PM")
476
477 def testAMPMRange(self):
478 with pytest.raises(ParserError):

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected