Skip to content

Commit fd30531

Browse files
Backport PR #60703 on branch 2.3.x (TST(string dtype): Resolve xfails in stack_unstack) (#60706)
Backport PR #60703: TST(string dtype): Resolve xfails in stack_unstack Co-authored-by: Richard Shadrach <[email protected]>
1 parent 8ef73d6 commit fd30531

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pandas/tests/frame/test_stack_unstack.py

-4
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
import numpy as np
66
import pytest
77

8-
from pandas._config import using_string_dtype
9-
108
from pandas._libs import lib
119
from pandas.errors import PerformanceWarning
1210

@@ -1652,7 +1650,6 @@ def test_unstack_multiple_no_empty_columns(self):
16521650
expected = unstacked.dropna(axis=1, how="all")
16531651
tm.assert_frame_equal(unstacked, expected)
16541652

1655-
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)", strict=False)
16561653
@pytest.mark.filterwarnings(
16571654
"ignore:The previous implementation of stack is deprecated"
16581655
)
@@ -1896,7 +1893,6 @@ def test_stack_level_name(self, multiindex_dataframe_random_data, future_stack):
18961893
expected = frame.stack(future_stack=future_stack)
18971894
tm.assert_series_equal(result, expected)
18981895

1899-
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)", strict=False)
19001896
@pytest.mark.filterwarnings(
19011897
"ignore:The previous implementation of stack is deprecated"
19021898
)

0 commit comments

Comments
 (0)