File tree 2 files changed +4
-4
lines changed
pandas/tests/scalar/period
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1557,7 +1557,10 @@ def test_period_immutable():
1557
1557
1558
1558
1559
1559
@pytest .mark .xfail (
1560
- StrictVersion (dateutil .__version__ .split (".dev" )[0 ]) < StrictVersion ("2.7.0" ),
1560
+ # https://github.com/python/typeshed/tree/master/third_party/2and3/dateutil
1561
+ # error: Module has no attribute "__version__" [attr-defined]
1562
+ StrictVersion (dateutil .__version__ .split (".dev" )[0 ]) # type: ignore
1563
+ < StrictVersion ("2.7.0" ),
1561
1564
reason = "Bug in dateutil < 2.7.0 when parsing old dates: Period('0001-01-07', 'D')" ,
1562
1565
strict = False ,
1563
1566
)
Original file line number Diff line number Diff line change @@ -185,9 +185,6 @@ ignore_errors=True
185
185
[mypy-pandas.tests.indexes.test_base]
186
186
ignore_errors =True
187
187
188
- [mypy-pandas.tests.scalar.period.test_period]
189
- ignore_errors =True
190
-
191
188
[mypy-pandas.tests.series.test_operators]
192
189
ignore_errors =True
193
190
You can’t perform that action at this time.
0 commit comments