summaryrefslogtreecommitdiff
path: root/numpy/conftest.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-03-23 06:50:00 -0600
committerCharles Harris <charlesr.harris@gmail.com>2018-03-24 09:55:09 -0600
commitfbb29df68bd7f330d5a5ced2c20e9244f12f9648 (patch)
tree43b8d9dab23035628ca116be269b507655ecaf53 /numpy/conftest.py
parente8389cb15f8d8fd902ea9f7aad0da64bce0f2583 (diff)
downloadnumpy-fbb29df68bd7f330d5a5ced2c20e9244f12f9648.tar.gz
TST: Rename some compiled c test modules
The renamed C modules provide low level functions for testing. The rename marks them as private functions and makes them invisible to pytest by default.
Diffstat (limited to 'numpy/conftest.py')
-rw-r--r--numpy/conftest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/conftest.py b/numpy/conftest.py
index 15985a75b..ce985d079 100644
--- a/numpy/conftest.py
+++ b/numpy/conftest.py
@@ -8,7 +8,7 @@ import pytest
import numpy
import importlib
-from numpy.core.multiarray_tests import get_fpu_mode
+from numpy.core._multiarray_tests import get_fpu_mode
_old_fpu_mode = None
@@ -21,7 +21,7 @@ def pytest_itemcollected(item):
Check FPU precision mode was not changed during test collection.
The clumsy way we do it here is mainly necessary because numpy
- still uses yield tests, which can execute code at test collection
+ still uses yield tests, which can execute code at test collection
time.
"""
global _old_fpu_mode