diff options
-rw-r--r-- | numpy/random/_examples/cython/setup.py | 4 | ||||
-rw-r--r-- | numpy/random/tests/test_extending.py | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/numpy/random/_examples/cython/setup.py b/numpy/random/_examples/cython/setup.py index 7ed0a3a18..20cedc4e3 100644 --- a/numpy/random/_examples/cython/setup.py +++ b/numpy/random/_examples/cython/setup.py @@ -9,9 +9,9 @@ import numpy as np from distutils.core import setup from Cython.Build import cythonize from setuptools.extension import Extension -from os.path import join, abspath, dirname +from os.path import join, dirname -path = abspath(dirname(__file__)) +path = dirname(__file__) defs = [('NPY_NO_DEPRECATED_API', 0)] extending = Extension("extending", diff --git a/numpy/random/tests/test_extending.py b/numpy/random/tests/test_extending.py index 0cad76ed1..439980fd4 100644 --- a/numpy/random/tests/test_extending.py +++ b/numpy/random/tests/test_extending.py @@ -40,7 +40,6 @@ else: @pytest.mark.skipif(cython is None, reason="requires cython") @pytest.mark.slow -@pytest.mark.skipif(sys.platform == 'win32', reason="cmd too long on CI") def test_cython(tmp_path): examples = os.path.join(os.path.dirname(__file__), '..', '_examples') base = os.path.dirname(examples) |