diff options
| author | Rohit Goswami <rog32@hi.is> | 2022-04-30 18:47:01 +0000 |
|---|---|---|
| committer | Rohit Goswami <rog32@hi.is> | 2022-04-30 20:16:22 +0000 |
| commit | 96c41da6a4fdbba2cc5e03382e696603fa2987fc (patch) | |
| tree | fb02b6370ea68129340bfef8687bf57f58edcdc7 | |
| parent | 4cd63418bc3134af68033e4f10d7f9958107703a (diff) | |
| download | numpy-96c41da6a4fdbba2cc5e03382e696603fa2987fc.tar.gz | |
TST: Kill buggy 32-bit tests
| -rw-r--r-- | numpy/f2py/tests/test_return_real.py | 5 | ||||
| -rw-r--r-- | numpy/f2py/tests/test_semicolon_split.py | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/numpy/f2py/tests/test_return_real.py b/numpy/f2py/tests/test_return_real.py index d9fecef1a..7705a1122 100644 --- a/numpy/f2py/tests/test_return_real.py +++ b/numpy/f2py/tests/test_return_real.py @@ -1,5 +1,6 @@ import platform import pytest +import numpy as np from numpy import array from . import util @@ -52,6 +53,10 @@ class TestReturnReal(util.F2PyTest): reason="Prone to error when run with numpy/f2py/tests on mac os, " "but not when run in isolation", ) +@pytest.mark.skipif( + np.dtype(np.intp).itemsize < 8, + reason="32-bit builds are buggy" +) class TestCReturnReal(TestReturnReal): suffix = ".pyf" module_name = "c_ext_return_real" diff --git a/numpy/f2py/tests/test_semicolon_split.py b/numpy/f2py/tests/test_semicolon_split.py index 5375543e0..6d499046c 100644 --- a/numpy/f2py/tests/test_semicolon_split.py +++ b/numpy/f2py/tests/test_semicolon_split.py @@ -1,5 +1,6 @@ import platform import pytest +import numpy as np from . import util @@ -9,6 +10,10 @@ from . import util reason="Prone to error when run with numpy/f2py/tests on mac os, " "but not when run in isolation", ) +@pytest.mark.skipif( + np.dtype(np.intp).itemsize < 8, + reason="32-bit builds are buggy" +) class TestMultiline(util.F2PyTest): suffix = ".pyf" module_name = "multiline" @@ -38,6 +43,10 @@ end python module {module_name} reason="Prone to error when run with numpy/f2py/tests on mac os, " "but not when run in isolation", ) +@pytest.mark.skipif( + np.dtype(np.intp).itemsize < 8, + reason="32-bit builds are buggy" +) class TestCallstatement(util.F2PyTest): suffix = ".pyf" module_name = "callstatement" |
