Skip to content

Backport PR #60703 on branch 2.3.x (TST(string dtype): Resolve xfails in stack_unstack) #60706

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions pandas/tests/frame/test_stack_unstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
import numpy as np
import pytest

from pandas._config import using_string_dtype

from pandas._libs import lib
from pandas.errors import PerformanceWarning

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

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

@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)", strict=False)
@pytest.mark.filterwarnings(
"ignore:The previous implementation of stack is deprecated"
)
Expand Down
Loading