Author: Armin Rigo <[email protected]>
Branch:
Changeset: r55046:229cc91af9a7
Date: 2012-05-11 19:36 +0200
http://bitbucket.org/pypy/pypy/changeset/229cc91af9a7/
Log: Python 2.5 compat
diff --git a/pypy/rpython/test/test_llinterp.py
b/pypy/rpython/test/test_llinterp.py
--- a/pypy/rpython/test/test_llinterp.py
+++ b/pypy/rpython/test/test_llinterp.py
@@ -137,7 +137,7 @@
info = py.test.raises(LLException, "interp.eval_graph(graph, values)")
try:
got = interp.find_exception(info.value)
- except ValueError as message:
+ except ValueError, message:
got = 'None %r' % message
assert got is exc, "wrong exception type, expected %r got %r" % (exc, got)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit