From: Neal Norwitz Date: Sat, 19 May 2007 04:35:52 +0000 (+0000) Subject: Give some clue as to what happened if the test fails. X-Git-Tag: v2.6a1~1725 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d410b320ec46ced2be067fe4297d81405280dcf4;p=thirdparty%2FPython%2Fcpython.git Give some clue as to what happened if the test fails. --- diff --git a/Lib/bsddb/test/test_recno.py b/Lib/bsddb/test/test_recno.py index 484e7d79fa53..4b36a40a0274 100644 --- a/Lib/bsddb/test/test_recno.py +++ b/Lib/bsddb/test/test_recno.py @@ -118,7 +118,7 @@ class SimpleRecnoTestCase(unittest.TestCase): assert not d.has_key(13) data = d.get_both(26, "z" * 60) - assert data == "z" * 60 + assert data == "z" * 60, 'was %r' % data if verbose: print data