Commits

Sven Hager committed a3fb941

use setup_method instead of setup_class

  • Participants
  • Parent commits 285f2e5
  • Branches ppc-jit-backend

Comments (0)

Files changed (1)

pypy/jit/backend/ppc/test/test_runner.py

 
 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):