Author: Alex Gaynor <[email protected]>
Branch: 
Changeset: r72736:5329e5dde957
Date: 2014-08-09 10:14 -0700
http://bitbucket.org/pypy/pypy/changeset/5329e5dde957/

Log:    Try to prefer the py3k friendly syntax

diff --git a/rpython/rtyper/test/test_llinterp.py 
b/rpython/rtyper/test/test_llinterp.py
--- a/rpython/rtyper/test/test_llinterp.py
+++ b/rpython/rtyper/test/test_llinterp.py
@@ -129,7 +129,7 @@
     info = py.test.raises(LLException, "interp.eval_graph(graph, values)")
     try:
         got = interp.find_exception(info.value)
-    except ValueError, message:
+    except ValueError as message:
         got = 'None %r' % message
     assert got is exc, "wrong exception type, expected %r got %r" % (exc, got)
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to