summaryrefslogtreecommitdiff
path: root/scipy/weave/tests/test_ext_tools.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2005-12-26 07:49:25 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2005-12-26 07:49:25 +0000
commita1d00598a3a406e965cd3e07a6ebf95e4c50198b (patch)
tree069b66cab8bd31be325de284bbb8603595271a11 /scipy/weave/tests/test_ext_tools.py
parent36e55fb0bfd3f55f2ece8cbf68a7b912df6de9e6 (diff)
downloadnumpy-a1d00598a3a406e965cd3e07a6ebf95e4c50198b.tar.gz
Renamed scipy.test module to scipy.testing. Clean up testing.
Diffstat (limited to 'scipy/weave/tests/test_ext_tools.py')
-rw-r--r--scipy/weave/tests/test_ext_tools.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/scipy/weave/tests/test_ext_tools.py b/scipy/weave/tests/test_ext_tools.py
index 48aab2612..c8a15e341 100644
--- a/scipy/weave/tests/test_ext_tools.py
+++ b/scipy/weave/tests/test_ext_tools.py
@@ -1,7 +1,7 @@
-import unittest
+
import time
-from scipy_test.testing import *
+from scipy.testing import *
set_package_path()
from weave import ext_tools, c_spec
try:
@@ -17,7 +17,7 @@ restore_path()
build_dir = empty_temp_dir()
print 'building extensions here:', build_dir
-class test_ext_module(unittest.TestCase):
+class test_ext_module(ScipyTestCase):
#should really do some testing of where modules end up
def check_simple(self,level=5):
""" Simplest possible module """
@@ -94,7 +94,7 @@ class test_ext_module(unittest.TestCase):
c,d = ext_return_tuple.test(a)
assert(c==a and d == a+1)
-class test_ext_function(unittest.TestCase):
+class test_ext_function(ScipyTestCase):
#should really do some testing of where modules end up
def check_simple(self,level=5):
""" Simplest possible function """
@@ -107,7 +107,7 @@ class test_ext_function(unittest.TestCase):
import simple_ext_function
simple_ext_function.test()
-class test_assign_variable_types(unittest.TestCase):
+class test_assign_variable_types(ScipyTestCase):
def check_assign_variable_types(self):
try:
from scipy_base.numerix import arange, Float32, Float64
@@ -135,4 +135,4 @@ class test_assign_variable_types(unittest.TestCase):
print_assert_equal(expr,actual,desired)
if __name__ == "__main__":
- ScipyTest('weave.ext_tools').run()
+ ScipyTest().run()