Author: hager <[email protected]>
Branch: ppc-jit-backend
Changeset: r53107:a3fb941acdca
Date: 2012-03-02 04:32 -0800
http://bitbucket.org/pypy/pypy/changeset/a3fb941acdca/

Log:    use setup_method instead of setup_class

diff --git a/pypy/jit/backend/ppc/test/test_runner.py 
b/pypy/jit/backend/ppc/test/test_runner.py
--- a/pypy/jit/backend/ppc/test/test_runner.py
+++ b/pypy/jit/backend/ppc/test/test_runner.py
@@ -19,9 +19,9 @@
 
 class TestPPC(LLtypeBackendTest):
    
-    def setup_class(cls):
-        cls.cpu = PPC_64_CPU(rtyper=None, stats=FakeStats())
-        cls.cpu.setup_once()
+    def setup_method(self, meth):
+        self.cpu = PPC_64_CPU(rtyper=None, stats=FakeStats())
+        self.cpu.setup_once()
 
     def test_compile_loop_many_int_args(self):
         for numargs in range(2, 16):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to