Author: David Schneider <[email protected]>
Branch: arm-backend-2
Changeset: r51437:1c132ebb86eb
Date: 2012-01-18 12:13 +0100
http://bitbucket.org/pypy/pypy/changeset/1c132ebb86eb/
Log: Create a CPU instance for each test
diff --git a/pypy/jit/backend/arm/test/test_runner.py
b/pypy/jit/backend/arm/test/test_runner.py
--- a/pypy/jit/backend/arm/test/test_runner.py
+++ b/pypy/jit/backend/arm/test/test_runner.py
@@ -23,12 +23,9 @@
class TestARM(LLtypeBackendTest):
- def setup_class(cls):
- cls.cpu = ArmCPU(rtyper=None, stats=FakeStats())
- cls.cpu.setup_once()
-
- def teardown_method(self, method):
- self.cpu.assembler.teardown()
+ def setup_method(self, meth):
+ self.cpu = ArmCPU(rtyper=None, stats=FakeStats())
+ self.cpu.setup_once()
# for the individual tests see
# ====> ../../test/runner_test.py
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit