This commit is contained in:
Benjamin Peterson 2011-06-13 08:50:50 -05:00
parent 8e81ed693a
commit 8772b8c928
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ def getfailure(e):
value = e.cause[1]
if str(value):
lines = explanation.split('\n')
lines[0] += " << %s" % (e.value,)
lines[0] += " << %s" % (value,)
explanation = '\n'.join(lines)
text = "%s: %s" % (e.cause[0].__name__, explanation)
if text.startswith('AssertionError: assert '):