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

Method testErrorType01

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

Source from the content-addressed store, hash-verified

554 datetime(2008, 2, 29))
555
556 def testErrorType01(self):
557 with pytest.raises(ParserError):
558 parse('shouldfail')
559
560 def testCorrectErrorOnFuzzyWithTokens(self):
561 self.assertRaisesRegex(

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected