From a24348cec112a2fd0b7c993981e2428e73f261d9 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Fri, 22 Nov 2013 13:22:22 -0500 Subject: Make some tests more verbose in the face of failure --- Lib/test/test_module.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_module.py b/Lib/test/test_module.py index 536f7cf632..1230293670 100644 --- a/Lib/test/test_module.py +++ b/Lib/test/test_module.py @@ -191,8 +191,12 @@ a = A(destroyed)""" def test_module_repr_source(self): r = repr(unittest) - self.assertEqual(r[:25], "") + starts_with = "