Skip to content

Commit 4de0c2b

Browse files
committed
Fix nonmatching name in the test.
1 parent e0b1e72 commit 4de0c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/computation/test_eval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ def test_using_numpy(self):
741741
# GH 58041
742742
df = Series([0.2, 1.5, 2.8], name="a").to_frame()
743743
res = df.eval("@np.floor(a)")
744-
expected = np.floor(df["a"])
744+
expected = np.floor(df["a"]).rename(None)
745745
tm.assert_series_equal(expected, res)
746746

747747

0 commit comments

Comments
 (0)