Skip to content

Commit 82dcd07

Browse files
authored
TST: stricten xfails (#44741)
1 parent bd5e1df commit 82dcd07

File tree

4 files changed

+1
-18
lines changed

4 files changed

+1
-18
lines changed

pandas/tests/io/parser/common/test_chunksize.py

-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ def test_chunk_begins_with_newline_whitespace(all_parsers):
162162

163163

164164
@pytest.mark.slow
165-
@pytest.mark.xfail(reason="GH38630, sometimes gives ResourceWarning", strict=False)
166165
def test_chunks_have_consistent_numerical_type(all_parsers):
167166
parser = all_parsers
168167
integers = [str(i) for i in range(499999)]

pandas/tests/plotting/test_converter.py

+1-9
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@
1010

1111
import pandas._config.config as cf
1212

13-
from pandas.compat import (
14-
is_platform_windows,
15-
np_datetime64_compat,
16-
)
13+
from pandas.compat import np_datetime64_compat
1714
import pandas.util._test_decorators as td
1815

1916
from pandas import (
@@ -92,11 +89,6 @@ def test_registering_no_warning(self):
9289
ax.plot(s.index, s.values)
9390
plt.close()
9491

95-
@pytest.mark.xfail(
96-
is_platform_windows(),
97-
reason="Getting two warnings intermittently, see GH#37746",
98-
strict=False,
99-
)
10092
def test_pandas_plots_register(self):
10193
plt = pytest.importorskip("matplotlib.pyplot")
10294
s = Series(range(12), index=date_range("2017", periods=12))

pandas/tests/plotting/test_groupby.py

-6
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import numpy as np
55
import pytest
66

7-
from pandas.compat import is_platform_windows
87
import pandas.util._test_decorators as td
98

109
from pandas import (
@@ -20,11 +19,6 @@
2019

2120
@td.skip_if_no_mpl
2221
class TestDataFrameGroupByPlots(TestPlotBase):
23-
@pytest.mark.xfail(
24-
is_platform_windows(),
25-
reason="Looks like LinePlot._is_ts_plot is wrong",
26-
strict=False,
27-
)
2822
def test_series_groupby_plotting_nominally_works(self):
2923
n = 10
3024
weight = Series(np.random.normal(166, 20, size=n))

pandas/tests/tseries/offsets/test_offsets_properties.py

-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
assume,
1212
given,
1313
)
14-
from hypothesis.errors import Flaky
1514
import pytest
1615
import pytz
1716

@@ -45,7 +44,6 @@ def test_on_offset_implementations(dt, offset):
4544
assert offset.is_on_offset(dt) == (compare == dt)
4645

4746

48-
@pytest.mark.xfail(strict=False, raises=Flaky, reason="unreliable test timings")
4947
@given(YQM_OFFSET)
5048
def test_shift_across_dst(offset):
5149
# GH#18319 check that 1) timezone is correctly normalized and

0 commit comments

Comments
 (0)