summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2019-12-27 09:28:25 +0200
committermattip <matti.picus@gmail.com>2019-12-27 09:28:25 +0200
commitaf6e61668ac3598daca111e7ed81bcca5e910735 (patch)
treefcc8c5517939dfe5ac4d57aff6daa4b4391ebef8 /numpy
parentc18b3f59b5f5752ab038224fd3bdf2dadba55ecf (diff)
downloadnumpy-af6e61668ac3598daca111e7ed81bcca5e910735.tar.gz
MAINT: unskip test on win32
Diffstat (limited to 'numpy')
-rw-r--r--numpy/random/_examples/cython/setup.py4
-rw-r--r--numpy/random/tests/test_extending.py1
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)