Skip to content

Commit 939308e

Browse files
committed
Swap catch_threading_exception() and start_threads()
1 parent d93cc25 commit 939308e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_sys.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,8 @@ def set_recursion_limit():
385385
for _ in range(5):
386386
threads.append(Thread(target=something_recursive))
387387

388-
with threading_helper.start_threads(threads):
389-
with threading_helper.catch_threading_exception() as cm:
388+
with threading_helper.catch_threading_exception() as cm:
389+
with threading_helper.start_threads(threads):
390390
if cm.exc_value:
391391
raise cm.exc_value
392392

0 commit comments

Comments
 (0)