[pypy-svn] r36659 - pypy/dist/pypy/objspace/std/test

cfbolz at codespeak.net cfbolz at codespeak.net
Sat Jan 13 15:26:11 CET 2007


Author: cfbolz
Date: Sat Jan 13 15:26:11 2007
New Revision: 36659

Modified:
   pypy/dist/pypy/objspace/std/test/test_shadowtracking.py
Log:
(cfbolz, pedronis): actually _use_ shadow tracking when testing it :-(.


Modified: pypy/dist/pypy/objspace/std/test/test_shadowtracking.py
==============================================================================
--- pypy/dist/pypy/objspace/std/test/test_shadowtracking.py	(original)
+++ pypy/dist/pypy/objspace/std/test/test_shadowtracking.py	Sat Jan 13 15:26:11 2007
@@ -76,6 +76,9 @@
         assert w_inst.w__dict__.implementation.shadows_anything
 
 class AppTestShadowTracking(object):
+    def setup_class(cls):
+        cls.space = gettestobjspace(**{"objspace.std.withshadowtracking": True})
+
     def test_shadowtracking_does_not_blow_up(self):
         class A(object):
             def f(self):



More information about the Pypy-commit mailing list