Author: Hakan Ardo <[email protected]>
Branch: jit-usable_retrace_3
Changeset: r59604:a9df638fd92b
Date: 2012-12-26 14:23 +0100
http://bitbucket.org/pypy/pypy/changeset/a9df638fd92b/

Log:    rename to not override above FakeOptimizer

diff --git a/pypy/jit/metainterp/test/test_virtualstate.py 
b/pypy/jit/metainterp/test/test_virtualstate.py
--- a/pypy/jit/metainterp/test/test_virtualstate.py
+++ b/pypy/jit/metainterp/test/test_virtualstate.py
@@ -1171,7 +1171,7 @@
 class FakeDescr(object):
     pass
 
-class FakeOptimizer(object):
+class FakeGuardedGenerlaizationOptimizer(object):
     unknown_ptr1, unknown_ptr2 = BoxPtr(), BoxPtr()
     unknown_int1, unknown_int2 = BoxInt(1), BoxInt(2)
     const_int0, const_int1, const_int2 = ConstInt(0), ConstInt(1), ConstInt(2)
@@ -1234,7 +1234,7 @@
 
 class TestGuardedGenerlaization:
     def setup_method(self, m):
-        self.optimizer = FakeOptimizer()
+        self.optimizer = FakeGuardedGenerlaizationOptimizer()
 
     def teardown_method(self, m):
         del self.optimizer
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to