Skip to content

Commit 3fb801c

Browse files
author
Connor Charles
committed
Added xfail for known failing case
1 parent b8f037f commit 3fb801c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pandas/tests/test_expressions.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -431,10 +431,14 @@ def test_bool_ops_column_name_dtype(self, test_input, expected):
431431
result = test_input.loc[:, ["a", "dtype"]].ne(test_input.loc[:, ["a", "dtype"]])
432432
assert_frame_equal(result, expected)
433433

434-
# Can't check floordiv here because it currently doesn't work #GH27636
435-
@pytest.mark.parametrize("arith", ("add", "sub", "mul", "mod", "truediv"))
434+
@pytest.mark.parametrize(
435+
"arith", ("add", "sub", "mul", "mod", "truediv", "floordiv")
436+
)
436437
@pytest.mark.parametrize("axis", (0, 1))
437438
def test_frame_series_axis(self, axis, arith):
439+
if axis == 1 and arith == "floordiv":
440+
pytest.xfail("'floordiv' does not succeed with axis=1 #27636")
441+
438442
df = self.frame
439443
if axis == 1:
440444
other = self.frame.iloc[0, :]

0 commit comments

Comments
 (0)