Skip to content

TST: xfail(strict=False) flaky numexpr test #46796

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 1 commit into from
Apr 18, 2022
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
15 changes: 14 additions & 1 deletion pandas/tests/computation/test_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -833,8 +833,21 @@ def test_basic_frame_series_alignment(
)
@pytest.mark.filterwarnings("ignore::RuntimeWarning")
def test_basic_series_frame_alignment(
self, engine, parser, index_name, r_idx_type, c_idx_type
self, request, engine, parser, index_name, r_idx_type, c_idx_type
):
if (
engine == "numexpr"
and parser == "pandas"
and index_name == "index"
and r_idx_type == "i"
and c_idx_type == "c"
):
reason = (
f"Flaky column ordering when engine={engine}, "
f"parser={parser}, index_name={index_name}, "
f"r_idx_type={r_idx_type}, c_idx_type={c_idx_type}"
)
request.node.add_marker(pytest.mark.xfail(reason=reason, strict=False))
df = tm.makeCustomDataframe(
10, 7, data_gen_f=f, r_idx_type=r_idx_type, c_idx_type=c_idx_type
)
Expand Down