summaryrefslogtreecommitdiff
path: root/scipy/weave/tests/test_build_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_build_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_build_tools.py')
-rw-r--r--scipy/weave/tests/test_build_tools.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/scipy/weave/tests/test_build_tools.py b/scipy/weave/tests/test_build_tools.py
index 9c43c5a4c..d6a9a1887 100644
--- a/scipy/weave/tests/test_build_tools.py
+++ b/scipy/weave/tests/test_build_tools.py
@@ -2,10 +2,9 @@
# tests for MingW32Compiler
# don't know how to test gcc_exists() and msvc_exists()...
-import unittest
import os, sys, tempfile
-from scipy_test.testing import *
+from scipy.testing import *
set_package_path()
from weave import build_tools
restore_path()
@@ -13,7 +12,7 @@ restore_path()
def is_writable(val):
return os.access(val,os.W_OK)
-class test_configure_build_dir(unittest.TestCase):
+class test_configure_build_dir(ScipyTestCase):
def check_default(self):
" default behavior is to return current directory "
d = build_tools.configure_build_dir()
@@ -47,7 +46,7 @@ class test_configure_temp_dir(test_configure_build_dir):
assert(d == tempfile.gettempdir())
assert(is_writable(d))
-class test_configure_sys_argv(unittest.TestCase):
+class test_configure_sys_argv(ScipyTestCase):
def check_simple(self):
build_dir = 'build_dir'
temp_dir = 'temp_dir'
@@ -64,4 +63,4 @@ class test_configure_sys_argv(unittest.TestCase):
assert(pre_argv == sys.argv[:])
if __name__ == "__main__":
- ScipyTest('weave.build_tools').run()
+ ScipyTest().run()