Skip to content

Commit 83d584d

Browse files
TST: Update unreliable num precision component of test_binary_arith_ops (GH37328)
1 parent dce547e commit 83d584d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/computation/test_eval.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def check_alignment(self, result, nlhs, ghs, op):
301301

302302
# direct numpy comparison
303303
expected = self.ne.evaluate(f"nlhs {op} ghs")
304-
tm.assert_numpy_array_equal(result.values, expected)
304+
tm.assert_almost_equal(result.values, expected, atol=1e-15, rtol=1e-16)
305305

306306
# modulus, pow, and floor division require special casing
307307

0 commit comments

Comments
 (0)