summaryrefslogtreecommitdiff
path: root/Lib/test/test_heapq.py
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na@python.org>2021-06-23 18:01:06 +0900
committerGitHub <noreply@github.com>2021-06-23 18:01:06 +0900
commit5a3108044d2e5b694da2d1f4176c9bbaef15c142 (patch)
tree1d57a8f4beca796b4540df50eb768a89833dd83b /Lib/test/test_heapq.py
parentc3f52b4d707a78eb342372a2be00f3eb846a05b9 (diff)
downloadcpython-git-5a3108044d2e5b694da2d1f4176c9bbaef15c142.tar.gz
bpo-28395: Remove unnecessary semicolons in tests (GH-26868)
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 ebbc627457..cb1e4505b0 100644
--- a/Lib/test/test_heapq.py
+++ b/Lib/test/test_heapq.py
@@ -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))