(self)
| 558 | parse('shouldfail') |
| 559 | |
| 560 | def testCorrectErrorOnFuzzyWithTokens(self): |
| 561 | self.assertRaisesRegex( |
| 562 | ParserError, |
| 563 | "Unknown string format", |
| 564 | parse, |
| 565 | "04/04/32/423", |
| 566 | fuzzy_with_tokens=True, |
| 567 | ) |
| 568 | self.assertRaisesRegex( |
| 569 | ParserError, |
| 570 | "Unknown string format", |
| 571 | parse, |
| 572 | "04/04/04 +32423", |
| 573 | fuzzy_with_tokens=True, |
| 574 | ) |
| 575 | self.assertRaisesRegex( |
| 576 | ParserError, |
| 577 | "Unknown string format", |
| 578 | parse, |
| 579 | "04/04/0d4", |
| 580 | fuzzy_with_tokens=True, |
| 581 | ) |
| 582 | |
| 583 | def testIncreasingCTime(self): |
| 584 | # This test will check 200 different years, every month, every day, |
nothing calls this directly
no outgoing calls
no test coverage detected