[pypy-svn] r72389 - pypy/trunk/pypy/jit/backend/test
arigo at codespeak.net
arigo at codespeak.net
Thu Mar 18 17:40:59 CET 2010
Author: arigo
Date: Thu Mar 18 17:40:57 2010
New Revision: 72389
Modified:
pypy/trunk/pypy/jit/backend/test/runner_test.py
Log:
Tweak the error message we get to be more explicit.
Modified: pypy/trunk/pypy/jit/backend/test/runner_test.py
==============================================================================
--- pypy/trunk/pypy/jit/backend/test/runner_test.py (original)
+++ pypy/trunk/pypy/jit/backend/test/runner_test.py Thu Mar 18 17:40:57 2010
@@ -1068,11 +1068,12 @@
fail = self.cpu.execute_token(looptoken)
if fail.identifier != 5 - (expected_id^expected):
if fail.identifier == 4:
- msg = "it was taken"
+ msg = "was taken"
else:
- msg = "it was not taken"
+ msg = "was not taken"
raise AssertionError(
- "%s(%s)/%s took the wrong path: %s" % (
+ "%s(%s)/%s took the wrong path: "
+ "the failure path of the guard %s" % (
opname[opnum],
', '.join(map(repr, realvalues)),
opname[guard_opnum], msg))
More information about the Pypy-commit
mailing list