summaryrefslogtreecommitdiff
path: root/numpy/random/tests/test_extending.py
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2019-11-19 22:23:00 -0800
committermattip <matti.picus@gmail.com>2019-11-19 22:23:00 -0800
commit521ea22552297345680c426c0204b17b644e6bd0 (patch)
tree883cc4a161230acc71692c71ff5fc69a98ffed35 /numpy/random/tests/test_extending.py
parent7d75171c4e6fbb2ed0aebda10908a6a0b01d0c7e (diff)
downloadnumpy-521ea22552297345680c426c0204b17b644e6bd0.tar.gz
MAINT: move numpy/random/examples -> numpy/random/_examples
Diffstat (limited to 'numpy/random/tests/test_extending.py')
-rw-r--r--numpy/random/tests/test_extending.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/random/tests/test_extending.py b/numpy/random/tests/test_extending.py
index 01e43b9e8..6f0f7a462 100644
--- a/numpy/random/tests/test_extending.py
+++ b/numpy/random/tests/test_extending.py
@@ -14,19 +14,19 @@ except ImportError:
def test_cython():
curdir = os.getcwd()
argv = sys.argv
- examples = (os.path.dirname(__file__), '..', 'examples')
+ examples = (os.path.dirname(__file__), '..', '_examples')
try:
os.chdir(os.path.join(*examples))
sys.argv = argv[:1] + ['build']
with warnings.catch_warnings(record=True) as w:
# setuptools issue gh-1885
warnings.filterwarnings('always', '', DeprecationWarning)
- from numpy.random.examples.cython import setup
+ from numpy.random._examples.cython import setup
finally:
sys.argv = argv
os.chdir(curdir)
@pytest.mark.skipif(numba is None, reason="requires numba")
def test_numba():
- from numpy.random.examples.numba import extending
+ from numpy.random._examples.numba import extending