diff options
author | mattip <matti.picus@gmail.com> | 2019-11-22 10:51:43 -0800 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2019-11-22 10:51:43 -0800 |
commit | a111f1999031bb54c8ffba7bc935527a9b1fc2d4 (patch) | |
tree | f641f0b686b35ee487bc3efdd276a4e6732d4100 /numpy/random/tests/test_extending.py | |
parent | 2c14c5b9b2e3153dc3b0026cc8e8e695a2917fee (diff) | |
download | numpy-a111f1999031bb54c8ffba7bc935527a9b1fc2d4.tar.gz |
TST: skip if cython is not available
Diffstat (limited to 'numpy/random/tests/test_extending.py')
-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 |