mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Issue #17516: do not create useless tuple: remove dummy commas in tests
This commit is contained in:
parent
765531d2d0
commit
3fa1aaebde
4 changed files with 11 additions and 11 deletions
|
@ -120,10 +120,10 @@ class TestBisect:
|
|||
def test_negative_lo(self):
|
||||
# Issue 3301
|
||||
mod = self.module
|
||||
self.assertRaises(ValueError, mod.bisect_left, [1, 2, 3], 5, -1, 3),
|
||||
self.assertRaises(ValueError, mod.bisect_right, [1, 2, 3], 5, -1, 3),
|
||||
self.assertRaises(ValueError, mod.insort_left, [1, 2, 3], 5, -1, 3),
|
||||
self.assertRaises(ValueError, mod.insort_right, [1, 2, 3], 5, -1, 3),
|
||||
self.assertRaises(ValueError, mod.bisect_left, [1, 2, 3], 5, -1, 3)
|
||||
self.assertRaises(ValueError, mod.bisect_right, [1, 2, 3], 5, -1, 3)
|
||||
self.assertRaises(ValueError, mod.insort_left, [1, 2, 3], 5, -1, 3)
|
||||
self.assertRaises(ValueError, mod.insort_right, [1, 2, 3], 5, -1, 3)
|
||||
|
||||
def test_large_range(self):
|
||||
# Issue 13496
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue