summaryrefslogtreecommitdiff
path: root/numpy/distutils/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/distutils/__init__.py')
-rw-r--r--numpy/distutils/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/distutils/__init__.py b/numpy/distutils/__init__.py
index 0450334ff..d5921b399 100644
--- a/numpy/distutils/__init__.py
+++ b/numpy/distutils/__init__.py
@@ -17,7 +17,7 @@ try:
# Normally numpy is installed if the above import works, but an interrupted
# in-place build could also have left a __config__.py. In that case the
# next import may still fail, so keep it inside the try block.
- from numpy.testing.nosetester import _numpy_tester
+ from numpy.testing import _numpy_tester
test = _numpy_tester().test
except ImportError:
pass
@@ -26,7 +26,7 @@ except ImportError:
def customized_fcompiler(plat=None, compiler=None):
from numpy.distutils.fcompiler import new_fcompiler
c = new_fcompiler(plat=plat, compiler=compiler)
- c.customize()
+ c.customize()
return c
def customized_ccompiler(plat=None, compiler=None):