[pypy-commit] lang-smalltalk default: patched module setup of test_miniimage to be able to reuse space and interp variables within other tests

lwassermann noreply at buildbot.pypy.org
Wed Apr 3 13:48:53 CEST 2013


Author: Lars Wassermann <lars.wassermann at gmail.com>
Branch: 
Changeset: r235:104fb3ec72ad
Date: 2013-03-25 18:23 +0100
http://bitbucket.org/pypy/lang-smalltalk/changeset/104fb3ec72ad/

Log:	patched module setup of test_miniimage to be able to reuse space and
	interp variables within other tests

diff --git a/spyvm/test/test_miniimage.py b/spyvm/test/test_miniimage.py
--- a/spyvm/test/test_miniimage.py
+++ b/spyvm/test/test_miniimage.py
@@ -20,6 +20,7 @@
     module.image.from_reader(space, reader)
     module.space = space
     module.interp = interpreter.Interpreter(space, image)
+    return space, module.interp
 
 def find_symbol(name):
     if name == "asSymbol":


More information about the pypy-commit mailing list