[pypy-svn] r74922 - pypy/branch/blackhole-improvement/pypy/jit/metainterp/test

arigo at codespeak.net arigo at codespeak.net
Sun May 30 17:44:40 CEST 2010


Author: arigo
Date: Sun May 30 17:44:39 2010
New Revision: 74922

Modified:
   pypy/branch/blackhole-improvement/pypy/jit/metainterp/test/test_warmspot.py
Log:
Fix test.


Modified: pypy/branch/blackhole-improvement/pypy/jit/metainterp/test/test_warmspot.py
==============================================================================
--- pypy/branch/blackhole-improvement/pypy/jit/metainterp/test/test_warmspot.py	(original)
+++ pypy/branch/blackhole-improvement/pypy/jit/metainterp/test/test_warmspot.py	Sun May 30 17:44:39 2010
@@ -314,7 +314,8 @@
                 return self.no
 
         class FakeDescr:
-            pass
+            def as_vtable_size_descr(self):
+                return self
 
         class FakeCPU(object):
             supports_floats = False



More information about the Pypy-commit mailing list