From 4b551412b6f44b38bef4a6d7e7c5aafeff0e6d03 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Wed, 22 Nov 2023 16:31:35 +0100 Subject: [PATCH] TST: f2py: fix issue in test skip condition This test was failing in the 32-bit wheel build job, the AND condition should be an OR one - test is Linux-only. [skip cirrus] [skip circle] --- numpy/f2py/tests/test_f2py2e.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/numpy/f2py/tests/test_f2py2e.py b/numpy/f2py/tests/test_f2py2e.py index dfea19e2bed9..b27df5fbd410 100644 --- a/numpy/f2py/tests/test_f2py2e.py +++ b/numpy/f2py/tests/test_f2py2e.py @@ -198,7 +198,8 @@ def test_gen_pyf_no_overwrite(capfd, hello_world_f90, monkeypatch): assert "Use --overwrite-signature to overwrite" in err -@pytest.mark.skipif((platform.system() != 'Linux') and (sys.version_info <= (3, 12)), reason='Compiler and 3.12 required') +@pytest.mark.skipif((platform.system() != 'Linux') or (sys.version_info <= (3, 12)), + reason='Compiler and 3.12 required') def test_untitled_cli(capfd, hello_world_f90, monkeypatch): """Check that modules are named correctly