bpo-28395: Remove unnecessary semicolons in tests (GH-26868)

This commit is contained in:
Dong-hee Na 2021-06-23 18:01:06 +09:00 committed by GitHub
parent c3f52b4d70
commit 5a3108044d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 31 additions and 30 deletions

View file

@ -635,11 +635,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