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

Method testCorrectErrorOnFuzzyWithTokens

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

Source from the content-addressed store, hash-verified

570 parse('shouldfail')
571
572 def testCorrectErrorOnFuzzyWithTokens(self):
573 assertRaisesRegex(self, ParserError, 'Unknown string format',
574 parse, '04/04/32/423', fuzzy_with_tokens=True)
575 assertRaisesRegex(self, ParserError, 'Unknown string format',
576 parse, '04/04/04 +32423', fuzzy_with_tokens=True)
577 assertRaisesRegex(self, ParserError, 'Unknown string format',
578 parse, '04/04/0d4', fuzzy_with_tokens=True)
579
580 def testIncreasingCTime(self):
581 # This test will check 200 different years, every month, every day,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected