[Scipy-svn] r5432 - branches/0.7.x/scipy/weave/tests

scipy-svn at scipy.org scipy-svn at scipy.org
Sat Jan 10 12:49:37 EST 2009


Author: cdavid
Date: 2009-01-10 11:49:21 -0600 (Sat, 10 Jan 2009)
New Revision: 5432

Modified:
   branches/0.7.x/scipy/weave/tests/test_ast_tools.py
   branches/0.7.x/scipy/weave/tests/test_blitz_tools.py
   branches/0.7.x/scipy/weave/tests/test_build_tools.py
   branches/0.7.x/scipy/weave/tests/test_c_spec.py
   branches/0.7.x/scipy/weave/tests/test_catalog.py
   branches/0.7.x/scipy/weave/tests/test_ext_tools.py
   branches/0.7.x/scipy/weave/tests/test_inline_tools.py
   branches/0.7.x/scipy/weave/tests/test_numpy_scalar_spec.py
   branches/0.7.x/scipy/weave/tests/test_scxx_dict.py
   branches/0.7.x/scipy/weave/tests/test_scxx_object.py
   branches/0.7.x/scipy/weave/tests/test_scxx_sequence.py
   branches/0.7.x/scipy/weave/tests/test_size_check.py
   branches/0.7.x/scipy/weave/tests/test_slice_handler.py
   branches/0.7.x/scipy/weave/tests/test_standard_array_spec.py
Log:
Fix missing nose import.

Modified: branches/0.7.x/scipy/weave/tests/test_ast_tools.py
===================================================================
--- branches/0.7.x/scipy/weave/tests/test_ast_tools.py	2009-01-10 14:04:45 UTC (rev 5431)
+++ branches/0.7.x/scipy/weave/tests/test_ast_tools.py	2009-01-10 17:49:21 UTC (rev 5432)
@@ -23,4 +23,5 @@
         self.generic_check(expr,desired)
 
 if __name__ == "__main__":
+    import nose
     nose.run(argv=['', __file__])

Modified: branches/0.7.x/scipy/weave/tests/test_blitz_tools.py
===================================================================
--- branches/0.7.x/scipy/weave/tests/test_blitz_tools.py	2009-01-10 14:04:45 UTC (rev 5431)
+++ branches/0.7.x/scipy/weave/tests/test_blitz_tools.py	2009-01-10 17:49:21 UTC (rev 5432)
@@ -178,4 +178,5 @@
         self.generic_2d(expr,complex128)
 
 if __name__ == "__main__":
+    import nose
     nose.run(argv=['', __file__])

Modified: branches/0.7.x/scipy/weave/tests/test_build_tools.py
===================================================================
--- branches/0.7.x/scipy/weave/tests/test_build_tools.py	2009-01-10 14:04:45 UTC (rev 5431)
+++ branches/0.7.x/scipy/weave/tests/test_build_tools.py	2009-01-10 17:49:21 UTC (rev 5432)
@@ -62,4 +62,5 @@
         assert(pre_argv == sys.argv[:])
 
 if __name__ == "__main__":
+    import nose
     nose.run(argv=['', __file__])

Modified: branches/0.7.x/scipy/weave/tests/test_c_spec.py
===================================================================
--- branches/0.7.x/scipy/weave/tests/test_c_spec.py	2009-01-10 14:04:45 UTC (rev 5431)
+++ branches/0.7.x/scipy/weave/tests/test_c_spec.py	2009-01-10 17:49:21 UTC (rev 5432)
@@ -740,4 +740,5 @@
 #         if _n[:7]=='TestGcc': exec 'del '+_n
 #
 if __name__ == "__main__":
+    import nose
     nose.run(argv=['', __file__])

Modified: branches/0.7.x/scipy/weave/tests/test_catalog.py
===================================================================
--- branches/0.7.x/scipy/weave/tests/test_catalog.py	2009-01-10 14:04:45 UTC (rev 5431)
+++ branches/0.7.x/scipy/weave/tests/test_catalog.py	2009-01-10 17:49:21 UTC (rev 5432)
@@ -328,4 +328,5 @@
 
 
 if __name__ == '__main__':
+    import nose
     nose.run(argv=['', __file__])

Modified: branches/0.7.x/scipy/weave/tests/test_ext_tools.py
===================================================================
--- branches/0.7.x/scipy/weave/tests/test_ext_tools.py	2009-01-10 14:04:45 UTC (rev 5431)
+++ branches/0.7.x/scipy/weave/tests/test_ext_tools.py	2009-01-10 17:49:21 UTC (rev 5432)
@@ -139,4 +139,5 @@
         assert_equal(actual,desired)
 
 if __name__ == "__main__":
+    import nose
     nose.run(argv=['', __file__])

Modified: branches/0.7.x/scipy/weave/tests/test_inline_tools.py
===================================================================
--- branches/0.7.x/scipy/weave/tests/test_inline_tools.py	2009-01-10 14:04:45 UTC (rev 5431)
+++ branches/0.7.x/scipy/weave/tests/test_inline_tools.py	2009-01-10 17:49:21 UTC (rev 5432)
@@ -42,4 +42,5 @@
 ##             pass
 
 if __name__ == "__main__":
+    import nose
     nose.run(argv=['', __file__])

Modified: branches/0.7.x/scipy/weave/tests/test_numpy_scalar_spec.py
===================================================================
--- branches/0.7.x/scipy/weave/tests/test_numpy_scalar_spec.py	2009-01-10 14:04:45 UTC (rev 5431)
+++ branches/0.7.x/scipy/weave/tests/test_numpy_scalar_spec.py	2009-01-10 17:49:21 UTC (rev 5432)
@@ -151,4 +151,5 @@
         if _n[:7]=='TestGcc': exec 'del '+_n
 
 if __name__ == "__main__":
+    import nose
     nose.run(argv=['', __file__])

Modified: branches/0.7.x/scipy/weave/tests/test_scxx_dict.py
===================================================================
--- branches/0.7.x/scipy/weave/tests/test_scxx_dict.py	2009-01-10 14:04:45 UTC (rev 5431)
+++ branches/0.7.x/scipy/weave/tests/test_scxx_dict.py	2009-01-10 17:49:21 UTC (rev 5432)
@@ -326,4 +326,5 @@
         assert a == b
 
 if __name__ == "__main__":
-    run_module_suite()
+    import nose
+    nose.run(argv=['', __file__])

Modified: branches/0.7.x/scipy/weave/tests/test_scxx_object.py
===================================================================
--- branches/0.7.x/scipy/weave/tests/test_scxx_object.py	2009-01-10 14:04:45 UTC (rev 5431)
+++ branches/0.7.x/scipy/weave/tests/test_scxx_object.py	2009-01-10 17:49:21 UTC (rev 5432)
@@ -891,4 +891,5 @@
         assert_equal(a['first'],a['second'])
 
 if __name__ == "__main__":
+    import nose
     nose.run(argv=['', __file__])

Modified: branches/0.7.x/scipy/weave/tests/test_scxx_sequence.py
===================================================================
--- branches/0.7.x/scipy/weave/tests/test_scxx_sequence.py	2009-01-10 14:04:45 UTC (rev 5431)
+++ branches/0.7.x/scipy/weave/tests/test_scxx_sequence.py	2009-01-10 17:49:21 UTC (rev 5432)
@@ -450,4 +450,5 @@
         assert b == desired
 
 if __name__ == "__main__":
+    import nose
     nose.run(argv=['', __file__])

Modified: branches/0.7.x/scipy/weave/tests/test_size_check.py
===================================================================
--- branches/0.7.x/scipy/weave/tests/test_size_check.py	2009-01-10 14:04:45 UTC (rev 5431)
+++ branches/0.7.x/scipy/weave/tests/test_size_check.py	2009-01-10 17:49:21 UTC (rev 5432)
@@ -365,4 +365,5 @@
 
 
 if __name__ == "__main__":
+    import nose
     run_module_suite()

Modified: branches/0.7.x/scipy/weave/tests/test_slice_handler.py
===================================================================
--- branches/0.7.x/scipy/weave/tests/test_slice_handler.py	2009-01-10 14:04:45 UTC (rev 5431)
+++ branches/0.7.x/scipy/weave/tests/test_slice_handler.py	2009-01-10 17:49:21 UTC (rev 5432)
@@ -144,4 +144,5 @@
 
 
 if __name__ == "__main__":
+    import nose
     nose.run(argv=['', __file__])

Modified: branches/0.7.x/scipy/weave/tests/test_standard_array_spec.py
===================================================================
--- branches/0.7.x/scipy/weave/tests/test_standard_array_spec.py	2009-01-10 14:04:45 UTC (rev 5431)
+++ branches/0.7.x/scipy/weave/tests/test_standard_array_spec.py	2009-01-10 17:49:21 UTC (rev 5432)
@@ -21,4 +21,5 @@
         assert(s.type_match(arange(4)))
 
 if __name__ == "__main__":
+    import nose
     nose.run(argv=['', __file__])




More information about the Scipy-svn mailing list