Skip to content

Commit

Permalink
Remove tests that will fail without backport of pandas-dev#58437
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAyd authored and lithomas1 committed Sep 8, 2024
1 parent 74112b5 commit 490fd90
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions pandas/tests/frame/test_query_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,20 +190,6 @@ def test_eval_object_dtype_binop(self):
expected = DataFrame({"a1": ["Y", "N"], "c": [True, False]})
tm.assert_frame_equal(res, expected)

def test_using_numpy(self, engine, parser):
# GH 58041
skip_if_no_pandas_parser(parser)
df = Series([0.2, 1.5, 2.8], name="a").to_frame()
res = df.eval("@np.floor(a)", engine=engine, parser=parser)
expected = np.floor(df["a"])
tm.assert_series_equal(expected, res)

def test_eval_simple(self, engine, parser):
df = Series([0.2, 1.5, 2.8], name="a").to_frame()
res = df.eval("a", engine=engine, parser=parser)
expected = df["a"]
tm.assert_series_equal(expected, res)

def test_extension_array_eval(self, engine, parser, request):
# GH#58748
if engine == "numexpr":
Expand Down

0 comments on commit 490fd90

Please sign in to comment.