Author: David Schneider <[email protected]>
Branch: ppc-jit-backend
Changeset: r49400:cdd52796a997
Date: 2011-11-14 12:52 +0100
http://bitbucket.org/pypy/pypy/changeset/cdd52796a997/

Log:    another fix for the ppc tests

diff --git a/pypy/jit/backend/x86/test/test_assembler.py 
b/pypy/jit/backend/x86/test/test_assembler.py
--- a/pypy/jit/backend/x86/test/test_assembler.py
+++ b/pypy/jit/backend/x86/test/test_assembler.py
@@ -16,7 +16,9 @@
 class FakeCPU:
     rtyper = None
     supports_floats = True
-    NUM_REGS = ACTUAL_CPU.NUM_REGS
+
+    def __init__(self):
+        NUM_REGS = ACTUAL_CPU.NUM_REGS
 
     def fielddescrof(self, STRUCT, name):
         return 42
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to