[pypy-svn] r79159 - pypy/branch/jit-starargs/pypy/module/pypyjit/test

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Nov 16 18:14:23 CET 2010


Author: cfbolz
Date: Tue Nov 16 18:14:22 2010
New Revision: 79159

Modified:
   pypy/branch/jit-starargs/pypy/module/pypyjit/test/test_pypy_c.py
Log:
some details changed, fix this test

Modified: pypy/branch/jit-starargs/pypy/module/pypyjit/test/test_pypy_c.py
==============================================================================
--- pypy/branch/jit-starargs/pypy/module/pypyjit/test/test_pypy_c.py	(original)
+++ pypy/branch/jit-starargs/pypy/module/pypyjit/test/test_pypy_c.py	Tue Nov 16 18:14:22 2010
@@ -377,10 +377,10 @@
                     ([1000], 49500),
                     ([10000], 495000),
                     ([100000], 4950000))
-        assert len(self.loops) == 2
+        assert len(self.loops) == 3
         op, = self.get_by_bytecode("CALL_FUNCTION_KW")
         # XXX a bit too many guards, but better than before
-        assert len(op.get_opnames("guard")) <= 10
+        assert len(op.get_opnames("guard")) <= 12
 
     def test_stararg_virtual(self):
         self.run_source('''



More information about the Pypy-commit mailing list