(self)
| 703 | datetime(2015, 5, 15)) |
| 704 | |
| 705 | def test_idx_check(self): |
| 706 | dtstr = '2017-07-17 06:15:' |
| 707 | # Pre-PR, the trailing colon will cause an IndexError at 824-825 |
| 708 | # when checking `i < len_l` and then accessing `l[i+1]` |
| 709 | res = parse(dtstr, fuzzy=True) |
| 710 | assert res == datetime(2017, 7, 17, 6, 15) |
| 711 | |
| 712 | def test_hmBY(self): |
| 713 | # See GH#483 |