mirror of
https://github.com/python/cpython.git
synced 2025-11-08 09:32:01 +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
ef89b2bf42
commit
fcde2c6a8c
8 changed files with 31 additions and 30 deletions
|
|
@ -145,11 +145,11 @@ def test_heappushpop(self):
|
|||
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