mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-28395: Remove unnecessary semicolons in tests (GH-26868)
This commit is contained in:
parent
c3f52b4d70
commit
5a3108044d
8 changed files with 31 additions and 30 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue