diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2019-11-23 07:39:25 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-23 07:39:25 -0800 |
commit | 2f2fa20b95d1da4ea11fb78a8071787d626b39a3 (patch) | |
tree | f641f0b686b35ee487bc3efdd276a4e6732d4100 | |
parent | 2c14c5b9b2e3153dc3b0026cc8e8e695a2917fee (diff) | |
parent | a111f1999031bb54c8ffba7bc935527a9b1fc2d4 (diff) | |
download | numpy-2f2fa20b95d1da4ea11fb78a8071787d626b39a3.tar.gz |
Merge pull request #14962 from mattip/check-cython
TST: skip if cython is not available
-rw-r--r-- | numpy/random/tests/test_extending.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/numpy/random/tests/test_extending.py b/numpy/random/tests/test_extending.py index 6f0f7a462..efd922ff5 100644 --- a/numpy/random/tests/test_extending.py +++ b/numpy/random/tests/test_extending.py @@ -11,6 +11,12 @@ try: except ImportError: numba = None +try: + import cython +except ImportError: + cython = None + +@pytest.mark.skipif(cython is None, reason="requires cython") def test_cython(): curdir = os.getcwd() argv = sys.argv |