#1056 Add and xfail unhandled case #1029

Open Daniel ffe4
Showing 1 of 1 files from the diff.

@@ -875,6 +875,15 @@
Loading
875 875
        expected = datetime(2017, 12, 1)
876 876
        assert res == expected
877 877
878 +
    @pytest.mark.xfail
879 +
    def test_extraneous_numerical_content(self):
880 +
        # ref: https://github.com/dateutil/dateutil/issues/1029
881 +
        # parser interprets price and percentage as parts of the date
882 +
        dstr = "£14.99 (25% off, until April 20)"
883 +
        res = parse(dstr, fuzzy=True, default=datetime(2000, 1, 1))
884 +
        expected = datetime(2000, 4, 20)
885 +
        assert res == expected
886 +
878 887
879 888
@pytest.mark.skipif(IS_WIN, reason="Windows does not use TZ var")
880 889
class TestTZVar(object):

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
dateutil -0.05% 95.94%
Project Totals (32 files) 95.94%
Loading