From 5046a035619fbf490eaa6af47fcbff6b3407b757 Mon Sep 17 00:00:00 2001 From: Brock Date: Thu, 22 Oct 2020 12:36:51 -0700 Subject: [PATCH 1/2] xfail --- pandas/tests/computation/test_eval.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandas/tests/computation/test_eval.py b/pandas/tests/computation/test_eval.py index 5796ea52899d2..66270ddc953f7 100644 --- a/pandas/tests/computation/test_eval.py +++ b/pandas/tests/computation/test_eval.py @@ -206,6 +206,9 @@ def test_simple_cmp_ops(self): self.check_simple_cmp_op(lhs, cmp_op, rhs) @pytest.mark.slow + @pytest.mark.xfail( + not compat.is_platform_mac(), reason="Numeric imprecision GH#37328" + ) def test_binary_arith_ops(self): for lhs, op, rhs in product(self.lhses, self.arith_ops, self.rhses): self.check_binary_arith_op(lhs, op, rhs) From 019f4603041f0c60372739491ce39154854adcfe Mon Sep 17 00:00:00 2001 From: Brock Date: Thu, 22 Oct 2020 14:46:31 -0700 Subject: [PATCH 2/2] xfailmore specific --- pandas/tests/computation/test_eval.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandas/tests/computation/test_eval.py b/pandas/tests/computation/test_eval.py index 66270ddc953f7..bc558b7d2f435 100644 --- a/pandas/tests/computation/test_eval.py +++ b/pandas/tests/computation/test_eval.py @@ -207,7 +207,8 @@ def test_simple_cmp_ops(self): @pytest.mark.slow @pytest.mark.xfail( - not compat.is_platform_mac(), reason="Numeric imprecision GH#37328" + compat.PY38 and not compat.is_platform_mac(), + reason="Numeric imprecision GH#37328", ) def test_binary_arith_ops(self): for lhs, op, rhs in product(self.lhses, self.arith_ops, self.rhses):