From 8772b8c9285bb26486b9064d0e76a3ef9022eafa Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 13 Jun 2011 08:50:50 -0500 Subject: [PATCH] fix name --- _pytest/assertion/newinterpret.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_pytest/assertion/newinterpret.py b/_pytest/assertion/newinterpret.py index 0fdecdd91..2696abda7 100644 --- a/_pytest/assertion/newinterpret.py +++ b/_pytest/assertion/newinterpret.py @@ -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 '):