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

Method testErrorType01

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

Source from the content-addressed store, hash-verified

566 datetime(2008, 2, 29))
567
568 def testErrorType01(self):
569 with pytest.raises(ParserError):
570 parse('shouldfail')
571
572 def testCorrectErrorOnFuzzyWithTokens(self):
573 assertRaisesRegex(self, ParserError, 'Unknown string format',

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected