From fbb29df68bd7f330d5a5ced2c20e9244f12f9648 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Fri, 23 Mar 2018 06:50:00 -0600 Subject: 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. --- numpy/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/conftest.py') 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 -- cgit v1.2.1