Author: Armin Rigo <[email protected]>
Branch:
Changeset: r44653:844e4f98e20f
Date: 2011-06-02 13:39 +0200
http://bitbucket.org/pypy/pypy/changeset/844e4f98e20f/
Log: merge heads
diff --git a/pypy/jit/backend/test/calling_convention_test.py
b/pypy/jit/backend/test/calling_convention_test.py
--- a/pypy/jit/backend/test/calling_convention_test.py
+++ b/pypy/jit/backend/test/calling_convention_test.py
@@ -31,9 +31,9 @@
Ptr = lltype.Ptr
FuncType = lltype.FuncType
- def __init__(self):
- self.cpu = getcpuclass()(rtyper=None, stats=FakeStats())
- self.cpu.setup_once()
+ def setup_class(cls):
+ cls.cpu = getcpuclass()(rtyper=None, stats=FakeStats())
+ cls.cpu.setup_once()
def _prepare_args(self, args, floats, ints):
local_floats = list(floats)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit