8000 Merge pull request #25227 from charris/backport-25221 · numpy/numpy@80e0195 · GitHub
[go: up one dir, main page]

Skip to content

Commit 80e0195

Browse files
authored
Merge pull request #25227 from charris/backport-25221
TST: f2py: fix issue in test skip condition
2 parents bb01ee8 + 4b55141 commit 80e0195

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

numpy/f2py/tests/test_f2py2e.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ def test_gen_pyf_no_overwrite(capfd, hello_world_f90, monkeypatch):
198198
assert "Use --overwrite-signature to overwrite" in err
199199

200200

201-
@pytest.mark.skipif((platform.system() != 'Linux') and (sys.version_info <= (3, 12)), reason='Compiler and 3.12 required')
201+
@pytest.mark.skipif((platform.system() != 'Linux') or (sys.version_info <= (3, 12)),
202+
reason='Compiler and 3.12 required')
202203
def test_untitled_cli(capfd, hello_world_f90, monkeypatch):
203204
"""Check that modules are named correctly
204205

0 commit comments

Comments
 (0)
0