[Python-checkins] cpython (merge 3.3 -> default): Merge issue #16377: Fix bisect unittest.

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


http://hg.python.org/cpython/rev/016d1a1fd601
changeset:   80135:016d1a1fd601
parent:      80132:75db7cb578ad
parent:      80134:f3dd84feeb58
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Wed Oct 31 22:38:44 2012 +0200
summary:
  Merge 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