[pypy-svn] r62146 - pypy/branch/spy-graphic/pypy/lang/smalltalk/test

witulski at codespeak.net witulski at codespeak.net
Wed Feb 25 15:23:34 CET 2009


Author: witulski
Date: Wed Feb 25 15:23:33 2009
New Revision: 62146

Modified:
   pypy/branch/spy-graphic/pypy/lang/smalltalk/test/test_miniimage.py
Log:
(witulski, cfbolz): making the test fail for a real reason (as opposed to a stupid reason).


Modified: pypy/branch/spy-graphic/pypy/lang/smalltalk/test/test_miniimage.py
==============================================================================
--- pypy/branch/spy-graphic/pypy/lang/smalltalk/test/test_miniimage.py	(original)
+++ pypy/branch/spy-graphic/pypy/lang/smalltalk/test/test_miniimage.py	Wed Feb 25 15:23:33 2009
@@ -218,11 +218,11 @@
 def test_runimage():
     py.test.skip("This method actually runs an image. Fails since no graphical primitives yet")
     from pypy.lang.smalltalk import wrapper
-    ap = wrapper.ProcessWraper(wrapper.scheduler().active_process())
-    s_ctx = ap.suspended_context().as_methodcontext_get_shadow()
+    ap = wrapper.ProcessWrapper(space, wrapper.scheduler(space).active_process())
+    s_ctx = ap.suspended_context().as_methodcontext_get_shadow(space)
     ap.store_suspended_context(space.w_nil)
 
-    interp = interpreter.Interpreter()
+    interp = interpreter.Interpreter(space)
     interp.store_w_active_context(s_ctx.w_self())
     interp.interpret()
 



More information about the Pypy-commit mailing list