summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_heapq.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-06-23 10:03:00 (GMT)
committerGitHub <noreply@github.com>2021-06-23 10:03:00 (GMT)
commitfcde2c6a8c99a56576b25733d5cc60bce6d51f46 (patch)
tree5b369bec44a2bd6534d5ace1e51d3d1fe21fe8f5 /Lib/test/test_heapq.py
parentef89b2bf42650accd460973f2ecb4f8d661fa5c4 (diff)
downloadcpython-fcde2c6a8c99a56576b25733d5cc60bce6d51f46.zip
cpython-fcde2c6a8c99a56576b25733d5cc60bce6d51f46.tar.gz
cpython-fcde2c6a8c99a56576b25733d5cc60bce6d51f46.tar.bz2
bpo-28395: Remove unnecessary semicolons in tests (GH-26868)
(cherry picked from commit 5a3108044d2e5b694da2d1f4176c9bbaef15c142) Co-authored-by: Dong-hee Na <donghee.na@python.org>
Diffstat (limited to 'Lib/test/test_heapq.py')
-rw-r--r--Lib/test/test_heapq.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_heapq.py b/Lib/test/test_heapq.py
index 6902573..2cca9a0 100644
--- a/Lib/test/test_heapq.py
+++ b/Lib/test/test_heapq.py
@@ -145,11 +145,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))