Kaydet (Commit) 091bf532 authored tarafından Andrew Svetlov's avatar Andrew Svetlov

Merge issue #16377: Fix bisect unittest.

Patch by Yury Selivanov.
...@@ -239,7 +239,7 @@ class TestInsort(unittest.TestCase): ...@@ -239,7 +239,7 @@ class TestInsort(unittest.TestCase):
else: else:
f = self.module.insort_right f = self.module.insort_right
f(insorted, digit) f(insorted, digit)
self.assertEqual(sorted(insorted), insorted) self.assertEqual(sorted(insorted), insorted)
def test_backcompatibility(self): def test_backcompatibility(self):
self.assertEqual(self.module.insort, self.module.insort_right) self.assertEqual(self.module.insort, self.module.insort_right)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment