(self)
| 716 | assert res == datetime(2017, 11, self.default.day, 2, 17) |
| 717 | |
| 718 | def test_validate_hour(self): |
| 719 | # See GH353 |
| 720 | invalid = "201A-01-01T23:58:39.239769+03:00" |
| 721 | with pytest.raises(ParserError): |
| 722 | parse(invalid) |
| 723 | |
| 724 | def test_era_trailing_year(self): |
| 725 | dstr = 'AD2001' |