summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_capi.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_capi.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_capi.py')
-rw-r--r--Lib/test/test_capi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py
index 5150d57..b21c3ac 100644
--- a/Lib/test/test_capi.py
+++ b/Lib/test/test_capi.py
@@ -553,11 +553,11 @@ class TestPendingCalls(unittest.TestCase):
#unsuccessful.
while True:
if _testcapi._pending_threadfunc(callback):
- break;
+ break
def pendingcalls_wait(self, l, n, context = None):
#now, stick around until l[0] has grown to 10
- count = 0;
+ count = 0
while len(l) != n:
#this busy loop is where we expect to be interrupted to
#run our callbacks. Note that callbacks are only run on the