[pypy-svn] r76766 - pypy/branch/asmgcc-64/pypy/module/pypyjit/test

jcreigh at codespeak.net jcreigh at codespeak.net
Fri Aug 27 21:18:21 CEST 2010


Author: jcreigh
Date: Fri Aug 27 21:18:17 2010
New Revision: 76766

Modified:
   pypy/branch/asmgcc-64/pypy/module/pypyjit/test/test_pypy_c.py
Log:
fix factorial tests by bumping up to a number that is a "long" on 64-bits as well

Modified: pypy/branch/asmgcc-64/pypy/module/pypyjit/test/test_pypy_c.py
==============================================================================
--- pypy/branch/asmgcc-64/pypy/module/pypyjit/test/test_pypy_c.py	(original)
+++ pypy/branch/asmgcc-64/pypy/module/pypyjit/test/test_pypy_c.py	Fri Aug 27 21:18:17 2010
@@ -189,7 +189,7 @@
                 return r
         ''', 28,
                    ([5], 120),
-                    ([20], 2432902008176640000L))
+                    ([25], 15511210043330985984000000L))
 
     def test_factorialrec(self):
         self.run_source('''
@@ -200,7 +200,7 @@
                     return 1
         ''', 0,
                    ([5], 120),
-                    ([20], 2432902008176640000L))
+                    ([25], 15511210043330985984000000L))
 
     def test_richards(self):
         self.run_source('''



More information about the Pypy-commit mailing list