[Python-checkins] cpython: Remove commented out debugging code (remnants of issue #18996).

serhiy.storchaka python-checkins at python.org
Tue Dec 10 12:54:22 CET 2013


http://hg.python.org/cpython/rev/a0c687dc0039
changeset:   87882:a0c687dc0039
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Tue Dec 10 13:53:56 2013 +0200
summary:
  Remove commented out debugging code (remnants of issue #18996).

files:
  Lib/unittest/test/test_case.py |  2 --
  1 files changed, 0 insertions(+), 2 deletions(-)


diff --git a/Lib/unittest/test/test_case.py b/Lib/unittest/test/test_case.py
--- a/Lib/unittest/test/test_case.py
+++ b/Lib/unittest/test/test_case.py
@@ -876,8 +876,6 @@
         with self.assertRaises(self.failureException) as cm:
             self.assertEqual(s1, s2)
         c = 'xxxx[85 chars]xxxxxxxxxxx'
-        #print()
-        #print(str(cm.exception))
         self.assertEqual(str(cm.exception), "'%sa%s' != '%sb%s'" % (c, p, c, p))
 
         p = 'y' * 100

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list