mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
bpo-28395: Remove unnecessary semicolons in tests (GH-26868)
(cherry picked from commit 5a3108044d
)
Co-authored-by: Dong-hee Na <donghee.na@python.org>
This commit is contained in:
parent
ef89b2bf42
commit
fcde2c6a8c
8 changed files with 31 additions and 30 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue