Author: Armin Rigo <[email protected]>
Branch: continulet-pickle
Changeset: r47223:dc94a2f7f7ee
Date: 2011-09-12 15:24 +0200
http://bitbucket.org/pypy/pypy/changeset/dc94a2f7f7ee/
Log: Workaround.
diff --git a/pypy/tool/pytest/appsupport.py b/pypy/tool/pytest/appsupport.py
--- a/pypy/tool/pytest/appsupport.py
+++ b/pypy/tool/pytest/appsupport.py
@@ -72,7 +72,9 @@
space = self.space
retval = []
for arg in self.code.getargs():
- w_val = space.getitem(self.w_locals, space.wrap(arg))
+ w_val = space.finditem(self.w_locals, space.wrap(arg))
+ if w_val is None:
+ w_val = space.wrap('<no value found>')
retval.append((arg, w_val))
return retval
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit