]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Give some clue as to what happened if the test fails.
authorNeal Norwitz <nnorwitz@gmail.com>
Sat, 19 May 2007 04:35:52 +0000 (04:35 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sat, 19 May 2007 04:35:52 +0000 (04:35 +0000)
Lib/bsddb/test/test_recno.py

index 484e7d79fa5321c537020eca5e2e55bf50a2ce74..4b36a40a02746b84d815887e6891cffd21de044e 100644 (file)
@@ -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