(self)
| 727 | assert res.year == 2001, res |
| 728 | |
| 729 | def test_includes_timestr(self): |
| 730 | timestr = "2020-13-97T44:61:83" |
| 731 | |
| 732 | try: |
| 733 | parse(timestr) |
| 734 | except ParserError as e: |
| 735 | assert e.args[1] == timestr |
| 736 | else: |
| 737 | pytest.fail("Failed to raise ParserError") |
| 738 | |
| 739 | |
| 740 | class TestOutOfBounds: |