Skip to content

Commit f10dbb9

Browse files
committed
Silence fork-in-thread warnings, incidentally fixing a mysterious and prima
facie unrelated unit test failure/hang.
1 parent dc48587 commit f10dbb9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_concurrent_futures/executor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ def test_swallows_falsey_exceptions(self):
248248
with self.assertRaisesRegex(FalseyLenException, msg):
249249
self.executor.submit(raiser, FalseyLenException, msg).result()
250250

251+
@warnings_helper.ignore_fork_in_thread_deprecation_warnings()
251252
def test_shutdown_notifies_cancelled_futures(self):
252253

253254
# TODO: remove when gh-109934 is fixed

0 commit comments

Comments
 (0)