[Scipy-svn] r5433 - trunk/scipy/weave/tests

scipy-svn@scip... scipy-svn@scip...
Sat Jan 10 11:58:53 CST 2009


Author: cdavid
Date: 2009-01-10 11:58:41 -0600 (Sat, 10 Jan 2009)
New Revision: 5433

Modified:
   trunk/scipy/weave/tests/test_ast_tools.py
   trunk/scipy/weave/tests/test_blitz_tools.py
   trunk/scipy/weave/tests/test_build_tools.py
   trunk/scipy/weave/tests/test_c_spec.py
   trunk/scipy/weave/tests/test_catalog.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/test_slice_handler.py
   trunk/scipy/weave/tests/test_standard_array_spec.py
Log:
'forward'-port missing nose imports from 0.7.x branch (r5432).

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

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

Modified: trunk/scipy/weave/tests/test_build_tools.py
===================================================================
--- trunk/scipy/weave/tests/test_build_tools.py	2009-01-10 17:49:21 UTC (rev 5432)
+++ trunk/scipy/weave/tests/test_build_tools.py	2009-01-10 17:58:41 UTC (rev 5433)
@@ -62,4 +62,5 @@
         assert(pre_argv == sys.argv[:])
 
 if __name__ == "__main__":
+    import nose
     nose.run(argv=['', __file__])

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

Modified: trunk/scipy/weave/tests/test_catalog.py
===================================================================
--- trunk/scipy/weave/tests/test_catalog.py	2009-01-10 17:49:21 UTC (rev 5432)
+++ trunk/scipy/weave/tests/test_catalog.py	2009-01-10 17:58:41 UTC (rev 5433)
@@ -328,4 +328,5 @@
 
 
 if __name__ == '__main__':
+    import nose
     nose.run(argv=['', __file__])

Modified: trunk/scipy/weave/tests/test_ext_tools.py
===================================================================
--- trunk/scipy/weave/tests/test_ext_tools.py	2009-01-10 17:49:21 UTC (rev 5432)
+++ trunk/scipy/weave/tests/test_ext_tools.py	2009-01-10 17:58:41 UTC (rev 5433)
@@ -138,4 +138,5 @@
         assert_equal(actual,desired)
 
 if __name__ == "__main__":
+    import nose
     nose.run(argv=['', __file__])

Modified: trunk/scipy/weave/tests/test_inline_tools.py
===================================================================
--- trunk/scipy/weave/tests/test_inline_tools.py	2009-01-10 17:49:21 UTC (rev 5432)
+++ trunk/scipy/weave/tests/test_inline_tools.py	2009-01-10 17:58:41 UTC (rev 5433)
@@ -42,4 +42,5 @@
 ##             pass
 
 if __name__ == "__main__":
+    import nose
     nose.run(argv=['', __file__])

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

Modified: trunk/scipy/weave/tests/test_scxx_dict.py
===================================================================
--- trunk/scipy/weave/tests/test_scxx_dict.py	2009-01-10 17:49:21 UTC (rev 5432)
+++ trunk/scipy/weave/tests/test_scxx_dict.py	2009-01-10 17:58:41 UTC (rev 5433)
@@ -296,4 +296,5 @@
         assert a == b
 
 if __name__ == "__main__":
+    import nose
     nose.run(argv=['', __file__])

Modified: trunk/scipy/weave/tests/test_scxx_object.py
===================================================================
--- trunk/scipy/weave/tests/test_scxx_object.py	2009-01-10 17:49:21 UTC (rev 5432)
+++ trunk/scipy/weave/tests/test_scxx_object.py	2009-01-10 17:58:41 UTC (rev 5433)
@@ -892,4 +892,5 @@
         assert_equal(a['first'],a['second'])
 
 if __name__ == "__main__":
+    import nose
     nose.run(argv=['', __file__])

Modified: trunk/scipy/weave/tests/test_scxx_sequence.py
===================================================================
--- trunk/scipy/weave/tests/test_scxx_sequence.py	2009-01-10 17:49:21 UTC (rev 5432)
+++ trunk/scipy/weave/tests/test_scxx_sequence.py	2009-01-10 17:58:41 UTC (rev 5433)
@@ -450,4 +450,5 @@
         assert b == desired
 
 if __name__ == "__main__":
+    import nose
     nose.run(argv=['', __file__])

Modified: trunk/scipy/weave/tests/test_size_check.py
===================================================================
--- trunk/scipy/weave/tests/test_size_check.py	2009-01-10 17:49:21 UTC (rev 5432)
+++ trunk/scipy/weave/tests/test_size_check.py	2009-01-10 17:58:41 UTC (rev 5433)
@@ -365,4 +365,5 @@
 
 
 if __name__ == "__main__":
+    import nose
     run_module_suite()

Modified: trunk/scipy/weave/tests/test_slice_handler.py
===================================================================
--- trunk/scipy/weave/tests/test_slice_handler.py	2009-01-10 17:49:21 UTC (rev 5432)
+++ trunk/scipy/weave/tests/test_slice_handler.py	2009-01-10 17:58:41 UTC (rev 5433)
@@ -144,4 +144,5 @@
 
 
 if __name__ == "__main__":
+    import nose
     nose.run(argv=['', __file__])

Modified: trunk/scipy/weave/tests/test_standard_array_spec.py
===================================================================
--- trunk/scipy/weave/tests/test_standard_array_spec.py	2009-01-10 17:49:21 UTC (rev 5432)
+++ trunk/scipy/weave/tests/test_standard_array_spec.py	2009-01-10 17:58:41 UTC (rev 5433)
@@ -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