Skip to content

Commit

Permalink
TST: Update unreliable num precision component of test_binary_arith_o…
Browse files Browse the repository at this point in the history
…ps (GH37328)
  • Loading branch information
avinashpancham committed Oct 24, 2020
1 parent dce547e commit 83d584d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/tests/computation/test_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def check_alignment(self, result, nlhs, ghs, op):

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

# modulus, pow, and floor division require special casing

Expand Down

0 comments on commit 83d584d

Please sign in to comment.