Skip to content

Commit 14224f9

Browse files
refactor: Fit thread test condition to PEP 8
1 parent 93d0581 commit 14224f9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎Lib/test/test_threading.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,8 @@ def test_start_interrupted_after_native_start(self):
502502
from test.support import SHORT_TIMEOUT, threading_helper
503503
504504
def interrupt(frame, event, arg):
505-
if event == 'c_return' and arg is threading._start_joinable_thread:
505+
if (event == 'c_return'
506+
and arg is threading._start_joinable_thread):
506507
raise KeyboardInterrupt
507508
508509
completed = threading.Event()

0 commit comments

Comments
 (0)