at master 898 B view raw
1diff --git a/numpy/core/tests/test_umath.py b/numpy/core/tests/test_umath.py 2index 6951d41e4..eefe86ad4 100644 3--- a/numpy/core/tests/test_umath.py 4+++ b/numpy/core/tests/test_umath.py 5@@ -4180,7 +4180,17 @@ def test_against_cmath(self): 6 ) 7 @pytest.mark.xfail(IS_MUSL, reason="gh23049") 8 @pytest.mark.xfail(IS_WASM, reason="doesn't work") 9- @pytest.mark.parametrize('dtype', [np.complex64, np.complex_, np.longcomplex]) 10+ @pytest.mark.parametrize('dtype', [ 11+ np.complex64, 12+ np.complex_, 13+ pytest.param( 14+ np.longcomplex, 15+ marks=pytest.mark.skipif( 16+ sys.platform == "darwin" and platform.machine() == "x86_64", 17+ reason="doesn’t work under Rosetta 2", 18+ ), 19+ ), 20+ ]) 21 def test_loss_of_precision(self, dtype): 22 """Check loss of precision in complex arc* functions""" 23