mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
bpo-28395: Remove unnecessary semicolons in tests (GH-26868)
(cherry picked from commit 5a3108044d
)
Co-authored-by: Dong-hee Na <donghee.na@python.org>
This commit is contained in:
parent
7e6cad7e30
commit
280425d417
8 changed files with 31 additions and 30 deletions
|
@ -146,11 +146,11 @@ class TestHeap:
|
|||
self.assertEqual(type(h[0]), int)
|
||||
self.assertEqual(type(x), float)
|
||||
|
||||
h = [10];
|
||||
h = [10]
|
||||
x = self.module.heappushpop(h, 9)
|
||||
self.assertEqual((h, x), ([10], 9))
|
||||
|
||||
h = [10];
|
||||
h = [10]
|
||||
x = self.module.heappushpop(h, 11)
|
||||
self.assertEqual((h, x), ([11], 10))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue