summaryrefslogtreecommitdiff
path: root/numpy/testing/numpytest.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2007-01-19 07:01:20 +0000
committerTravis Oliphant <oliphant@enthought.com>2007-01-19 07:01:20 +0000
commit34374574705466bdc9e1631ebee8d0334cb246bb (patch)
tree0e2698ebf9f1f59631c762bb0f425f3e8986d7d4 /numpy/testing/numpytest.py
parent1214839af24d8458e23f8edba7ed4375aff0ca3b (diff)
downloadnumpy-34374574705466bdc9e1631ebee8d0334cb246bb.tar.gz
Fix missing import statement. Fix bug where random.permutation did not accept numpy scalars.
Diffstat (limited to 'numpy/testing/numpytest.py')
-rw-r--r--numpy/testing/numpytest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/testing/numpytest.py b/numpy/testing/numpytest.py
index d8e663ca6..9ac6661b9 100644
--- a/numpy/testing/numpytest.py
+++ b/numpy/testing/numpytest.py
@@ -6,6 +6,7 @@ import glob
import types
import unittest
import traceback
+import warnings
__all__ = ['set_package_path', 'set_local_path', 'restore_path',
'IgnoreException', 'NumpyTestCase', 'NumpyTest',