summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
authorAlan McIntyre <alan.mcintyre@local>2008-07-03 03:57:29 +0000
committerAlan McIntyre <alan.mcintyre@local>2008-07-03 03:57:29 +0000
commit590babe4646a3435f8a709d6230d05c10f085be1 (patch)
tree51e77ce9c79c6f58d4cadc7a819c5b00064cf503 /numpy/lib/tests/test_function_base.py
parent94bc330296e01d8fc0cb14aba1354ddb6d8587cc (diff)
downloadnumpy-590babe4646a3435f8a709d6230d05c10f085be1.tar.gz
Remove uses of set_package_path, set_local_path, restore_path.
Clean up and (somewhat) standardize test module imports. Removed unneeded reload calls.
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r--numpy/lib/tests/test_function_base.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py
index 77e572f7a..c8555e82e 100644
--- a/numpy/lib/tests/test_function_base.py
+++ b/numpy/lib/tests/test_function_base.py
@@ -1,11 +1,9 @@
import sys
from numpy.testing import *
-set_package_path()
-import numpy.lib;reload(numpy.lib)
+import numpy.lib
from numpy.lib import *
from numpy.core import *
-restore_path()
class TestAny(TestCase):
def test_basic(self):