[pypy-svn] r6635 - pypy/trunk/src/pypy/translator/test

arigo at codespeak.net arigo at codespeak.net
Tue Sep 21 22:09:15 CEST 2004


Author: arigo
Date: Tue Sep 21 22:09:14 2004
New Revision: 6635

Modified:
   pypy/trunk/src/pypy/translator/test/snippet.py
Log:
I guess this is what was originally intended, though the other version is also 
a meaningful test.


Modified: pypy/trunk/src/pypy/translator/test/snippet.py
==============================================================================
--- pypy/trunk/src/pypy/translator/test/snippet.py	(original)
+++ pypy/trunk/src/pypy/translator/test/snippet.py	Tue Sep 21 22:09:14 2004
@@ -242,7 +242,7 @@
 
 def factorial2(n=int):   # analysed in a different order
     if n > 1:
-        return n * factorial(n-1)
+        return n * factorial2(n-1)
     else:
         return 1
 



More information about the Pypy-commit mailing list