[Scipy-svn] r4462 - trunk/scipy/ndimage/tests

scipy-svn@scip... scipy-svn@scip...
Mon Jun 23 08:57:45 CDT 2008


Author: cdavid
Date: 2008-06-23 08:57:33 -0500 (Mon, 23 Jun 2008)
New Revision: 4462

Modified:
   trunk/scipy/ndimage/tests/test_registration.py
Log:
Flag some memory hungry tests as slow.

Modified: trunk/scipy/ndimage/tests/test_registration.py
===================================================================
--- trunk/scipy/ndimage/tests/test_registration.py	2008-06-22 16:27:28 UTC (rev 4461)
+++ trunk/scipy/ndimage/tests/test_registration.py	2008-06-23 13:57:33 UTC (rev 4462)
@@ -100,6 +100,7 @@
 	assert_array_almost_equal(E, M, decimal=6)
 	return
 
+    @dec.slow
     def test_autoalign_histogram_1(self):
 	"test_autoalign_histogram_1"
 	desc = load_desc()
@@ -115,6 +116,7 @@
 	assert_equal(W.max(), 0.0)
 	return
 
+    @dec.slow
     def test_autoalign_histogram_2(self):
 	"test_autoalign_histogram_2"
 	desc = load_desc()
@@ -132,6 +134,7 @@
 	assert_equal(s, True)
 	return
 
+    @dec.slow
     def test_autoalign_ncc_value_1(self):
 	"test_autoalign_ncc_value_1"
 	desc = load_desc()
@@ -144,6 +147,7 @@
 	assert_equal(s, True)
 	return
 
+    @dec.slow
     def test_autoalign_ncc_value_2(self):
 	"test_autoalign_ncc_value_2"
 	desc = load_desc()
@@ -156,6 +160,7 @@
 	assert_equal(s, True)
 	return
 
+    @dec.slow
     def test_autoalign_nmi_value_1(self):
 	"test_autoalign_nmi_value_1"
 	desc = load_desc()
@@ -166,6 +171,7 @@
 	assert_almost_equal(cost, -2.0, decimal=6)
 	return
 
+    @dec.slow
     def test_autoalign_nmi_value_2(self):
 	"test_autoalign_nmi_value_2"
 	desc = load_desc()



More information about the Scipy-svn mailing list