[pypy-svn] r46729 - pypy/dist/pypy/objspace/flow/test

arigo at codespeak.net arigo at codespeak.net
Wed Sep 19 13:17:53 CEST 2007


Author: arigo
Date: Wed Sep 19 13:17:52 2007
New Revision: 46729

Modified:
   pypy/dist/pypy/objspace/flow/test/test_objspace.py
Log:
A very old test that was not actually testing what it was meant to.


Modified: pypy/dist/pypy/objspace/flow/test/test_objspace.py
==============================================================================
--- pypy/dist/pypy/objspace/flow/test/test_objspace.py	(original)
+++ pypy/dist/pypy/objspace/flow/test/test_objspace.py	Wed Sep 19 13:17:52 2007
@@ -75,10 +75,10 @@
     def ifthenelse(i, j):
         if i < 0:
             i = j
-        return g(i) + 1
+        return user_defined_function(i) + 1
     
     def test_ifthenelse(self):
-        x = self.codetest(self.simplebranch)
+        x = self.codetest(self.ifthenelse)
 
     #__________________________________________________________
     def loop(x):



More information about the Pypy-commit mailing list