We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32cfb29 commit 9827662Copy full SHA for 9827662
Lib/test/test_concurrent_futures/executor.py
@@ -260,7 +260,8 @@ def test_swallows_falsey_exceptions(self):
260
261
@warnings_helper.ignore_fork_in_thread_deprecation_warnings()
262
def test_shutdown_notifies_cancelled_futures(self):
263
- self.assertGreater(self.worker_count, 1)
+ if self.worker_count < 2:
264
+ self.skipTest("test requires more than one worker")
265
266
# TODO: remove when gh-109934 is fixed
267
if self.executor_type is futures.ThreadPoolExecutor:
0 commit comments