[Scipy-svn] r4732 - in trunk/scipy/weave: examples tests

scipy-svn at scipy.org scipy-svn at scipy.org
Thu Sep 18 15:45:38 EDT 2008


Author: alan.mcintyre
Date: 2008-09-18 14:45:20 -0500 (Thu, 18 Sep 2008)
New Revision: 4732

Removed:
   trunk/scipy/weave/tests/test_scxx.py
Modified:
   trunk/scipy/weave/examples/vq.py
   trunk/scipy/weave/tests/test_blitz_tools.py
   trunk/scipy/weave/tests/test_c_spec.py
   trunk/scipy/weave/tests/test_ext_tools.py
   trunk/scipy/weave/tests/test_inline_tools.py
   trunk/scipy/weave/tests/test_numpy_scalar_spec.py
   trunk/scipy/weave/tests/test_scxx_dict.py
   trunk/scipy/weave/tests/test_scxx_object.py
   trunk/scipy/weave/tests/test_scxx_sequence.py
   trunk/scipy/weave/tests/test_size_check.py
   trunk/scipy/weave/tests/weave_test_utils.py
Log:
Removed unused imports.
Removed test_scxx.py (the nose framework doesn't need to import the test_scxx* modules to find the tests).


Modified: trunk/scipy/weave/examples/vq.py
===================================================================
--- trunk/scipy/weave/examples/vq.py	2008-09-18 19:37:37 UTC (rev 4731)
+++ trunk/scipy/weave/examples/vq.py	2008-09-18 19:45:20 UTC (rev 4732)
@@ -14,7 +14,6 @@
 # [25 29] [ 2.49147272  3.83021021]
 #  speed up: 32.56
 
-import numpy
 from numpy import *
 import sys
 sys.path.insert(0,'..')

Modified: trunk/scipy/weave/tests/test_blitz_tools.py
===================================================================
--- trunk/scipy/weave/tests/test_blitz_tools.py	2008-09-18 19:37:37 UTC (rev 4731)
+++ trunk/scipy/weave/tests/test_blitz_tools.py	2008-09-18 19:45:20 UTC (rev 4732)
@@ -1,7 +1,7 @@
 import os
 import time
 
-from numpy import dot, float32, float64, complex64, complex128, \
+from numpy import float32, float64, complex64, complex128, \
      zeros, random, array, sum, abs, allclose
 
 from numpy.testing import *

Modified: trunk/scipy/weave/tests/test_c_spec.py
===================================================================
--- trunk/scipy/weave/tests/test_c_spec.py	2008-09-18 19:37:37 UTC (rev 4731)
+++ trunk/scipy/weave/tests/test_c_spec.py	2008-09-18 19:45:20 UTC (rev 4732)
@@ -1,4 +1,3 @@
-import time
 import os
 import sys
 

Modified: trunk/scipy/weave/tests/test_ext_tools.py
===================================================================
--- trunk/scipy/weave/tests/test_ext_tools.py	2008-09-18 19:37:37 UTC (rev 4731)
+++ trunk/scipy/weave/tests/test_ext_tools.py	2008-09-18 19:45:20 UTC (rev 4732)
@@ -1,5 +1,3 @@
-import time
-
 from numpy.testing import *
 
 from scipy.weave import ext_tools, c_spec

Modified: trunk/scipy/weave/tests/test_inline_tools.py
===================================================================
--- trunk/scipy/weave/tests/test_inline_tools.py	2008-09-18 19:37:37 UTC (rev 4731)
+++ trunk/scipy/weave/tests/test_inline_tools.py	2008-09-18 19:45:20 UTC (rev 4732)
@@ -2,7 +2,6 @@
 from numpy.testing import *
 
 from scipy.weave import inline_tools
-from test_scxx import *
 
 class TestInline(TestCase):
     """ These are long running tests...

Modified: trunk/scipy/weave/tests/test_numpy_scalar_spec.py
===================================================================
--- trunk/scipy/weave/tests/test_numpy_scalar_spec.py	2008-09-18 19:37:37 UTC (rev 4731)
+++ trunk/scipy/weave/tests/test_numpy_scalar_spec.py	2008-09-18 19:45:20 UTC (rev 4732)
@@ -1,4 +1,3 @@
-import time
 import os
 import sys
 

Deleted: trunk/scipy/weave/tests/test_scxx.py
===================================================================
--- trunk/scipy/weave/tests/test_scxx.py	2008-09-18 19:37:37 UTC (rev 4731)
+++ trunk/scipy/weave/tests/test_scxx.py	2008-09-18 19:45:20 UTC (rev 4732)
@@ -1,14 +0,0 @@
-""" Test refcounting and behavior of SCXX.
-"""
-import unittest
-import time
-import os,sys
-
-from numpy.testing import *
-from test_scxx_object import *
-from test_scxx_sequence import *
-from test_scxx_dict import *
-
-
-if __name__ == "__main__":
-    nose.run(argv=['', __file__])

Modified: trunk/scipy/weave/tests/test_scxx_dict.py
===================================================================
--- trunk/scipy/weave/tests/test_scxx_dict.py	2008-09-18 19:37:37 UTC (rev 4731)
+++ trunk/scipy/weave/tests/test_scxx_dict.py	2008-09-18 19:45:20 UTC (rev 4732)
@@ -1,7 +1,6 @@
 """ Test refcounting and behavior of SCXX.
 """
-import time
-import os
+
 import sys
 
 from numpy.testing import *

Modified: trunk/scipy/weave/tests/test_scxx_object.py
===================================================================
--- trunk/scipy/weave/tests/test_scxx_object.py	2008-09-18 19:37:37 UTC (rev 4731)
+++ trunk/scipy/weave/tests/test_scxx_object.py	2008-09-18 19:45:20 UTC (rev 4732)
@@ -1,7 +1,6 @@
 """ Test refcounting and behavior of SCXX.
 """
-import time
-import os
+
 import sys
 
 from numpy.testing import *

Modified: trunk/scipy/weave/tests/test_scxx_sequence.py
===================================================================
--- trunk/scipy/weave/tests/test_scxx_sequence.py	2008-09-18 19:37:37 UTC (rev 4731)
+++ trunk/scipy/weave/tests/test_scxx_sequence.py	2008-09-18 19:45:20 UTC (rev 4732)
@@ -2,7 +2,7 @@
 """
 
 import time
-import os,sys
+import sys
 
 from numpy.testing import *
 
@@ -18,8 +18,6 @@
 #     operator[] (get)
 #     operator[] (set)  DONE
 
-from UserList import UserList
-
 class _TestSequenceBase(TestCase):
     seq_type = None
 

Modified: trunk/scipy/weave/tests/test_size_check.py
===================================================================
--- trunk/scipy/weave/tests/test_size_check.py	2008-09-18 19:37:37 UTC (rev 4731)
+++ trunk/scipy/weave/tests/test_size_check.py	2008-09-18 19:45:20 UTC (rev 4732)
@@ -1,4 +1,3 @@
-import os
 import numpy as np
 from numpy.testing import *
 

Modified: trunk/scipy/weave/tests/weave_test_utils.py
===================================================================
--- trunk/scipy/weave/tests/weave_test_utils.py	2008-09-18 19:37:37 UTC (rev 4731)
+++ trunk/scipy/weave/tests/weave_test_utils.py	2008-09-18 19:45:20 UTC (rev 4732)
@@ -1,7 +1,4 @@
 import os
-import sys
-import string
-import pprint
 
 def remove_whitespace(in_str):
     out = in_str.replace(" ","")




More information about the Scipy-svn mailing list