[Scipy-svn] r4510 - trunk/scipy/sandbox/mkufunc/mkufunc

scipy-svn@scip... scipy-svn@scip...
Mon Jun 30 19:46:27 CDT 2008


Author: ilan
Date: 2008-06-30 19:46:27 -0500 (Mon, 30 Jun 2008)
New Revision: 4510

Modified:
   trunk/scipy/sandbox/mkufunc/mkufunc/test_mkufunc.py
Log:
Test removed

Modified: trunk/scipy/sandbox/mkufunc/mkufunc/test_mkufunc.py
===================================================================
--- trunk/scipy/sandbox/mkufunc/mkufunc/test_mkufunc.py	2008-07-01 00:36:02 UTC (rev 4509)
+++ trunk/scipy/sandbox/mkufunc/mkufunc/test_mkufunc.py	2008-07-01 00:46:27 UTC (rev 4510)
@@ -183,21 +183,6 @@
         self.assertClose(uf(x), f(x))
 
 
-class FuncArg_Tests(unittest.TestCase, Util):
-    
-    def test_fargs0(self):
-        def f():
-            return 42
-        
-        uf = mkufunc(f)
-        self.assertEqual(uf(), 42)
-        self.assert_(type(uf()).__name__.startswith('float'))
-
-        uf = mkufunc(int)(f)
-        self.assertEqual(uf(), 42)
-        self.assert_(type(uf()).__name__.startswith('int'))
-
-
 class Control_Flow_Tests(unittest.TestCase):
 
     def test_if(self):



More information about the Scipy-svn mailing list