[pypy-commit] pypy default: Try to prefer the py3k friendly syntax
alex_gaynor
noreply at buildbot.pypy.org
Sat Aug 9 19:16:21 CEST 2014
Author: Alex Gaynor <alex.gaynor at gmail.com>
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)
More information about the pypy-commit
mailing list