diff options
author | H. Vetinari <h.vetinari@gmx.com> | 2021-12-10 16:24:37 +1100 |
---|---|---|
committer | H. Vetinari <h.vetinari@gmx.com> | 2021-12-10 16:24:37 +1100 |
commit | 71c23a922b367d8a82ba68c6c1a6d632396fa2dc (patch) | |
tree | cd8d22c150d3431781f9b262452813e959c53c30 | |
parent | 812edadfd8f3e267e8c94893ffc55aec4947030b (diff) | |
download | numpy-71c23a922b367d8a82ba68c6c1a6d632396fa2dc.tar.gz |
make import path explicit
-rw-r--r-- | numpy/core/tests/test_umath.py | 3 | ||||
-rw-r--r-- | numpy/core/tests/test_umath_accuracy.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/numpy/core/tests/test_umath.py b/numpy/core/tests/test_umath.py index 9ffda3d49..e7fee46b7 100644 --- a/numpy/core/tests/test_umath.py +++ b/numpy/core/tests/test_umath.py @@ -15,8 +15,9 @@ from numpy.testing import ( assert_, assert_equal, assert_raises, assert_raises_regex, assert_array_equal, assert_almost_equal, assert_array_almost_equal, assert_array_max_ulp, assert_allclose, assert_no_warnings, suppress_warnings, - _gen_alignment_data, assert_array_almost_equal_nulp, _glibc_older_than + _gen_alignment_data, assert_array_almost_equal_nulp ) +from numpy.testing._private.utils import _glibc_older_than def on_powerpc(): diff --git a/numpy/core/tests/test_umath_accuracy.py b/numpy/core/tests/test_umath_accuracy.py index 6583703ec..3d4d5b5aa 100644 --- a/numpy/core/tests/test_umath_accuracy.py +++ b/numpy/core/tests/test_umath_accuracy.py @@ -4,7 +4,8 @@ from os import path import sys import pytest from ctypes import c_longlong, c_double, c_float, c_int, cast, pointer, POINTER -from numpy.testing import assert_array_max_ulp, _glibc_older_than +from numpy.testing import assert_array_max_ulp +from numpy.testing._private.utils import _glibc_older_than from numpy.core._multiarray_umath import __cpu_features__ IS_AVX = __cpu_features__.get('AVX512F', False) or \ |