[Python-checkins] cpython (3.2): Issue #16377: Fix bisect unittest.

andrew.svetlov python-checkins at python.org
Wed Oct 31 21:39:23 CET 2012


http://hg.python.org/cpython/rev/838e2b19489e
changeset:   80133:838e2b19489e
branch:      3.2
parent:      80130:f159ebbb223e
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Wed Oct 31 22:37:50 2012 +0200
summary:
  Issue #16377: Fix bisect unittest.

Patch by Yury Selivanov.

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


diff --git a/Lib/test/test_bisect.py b/Lib/test/test_bisect.py
--- a/Lib/test/test_bisect.py
+++ b/Lib/test/test_bisect.py
@@ -239,7 +239,7 @@
                 else:
                     f = self.module.insort_right
                 f(insorted, digit)
-        self.assertEqual(sorted(insorted), insorted)
+            self.assertEqual(sorted(insorted), insorted)
 
     def test_backcompatibility(self):
         self.assertEqual(self.module.insort, self.module.insort_right)

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


More information about the Python-checkins mailing list