diff --git a/Lib/test/test_concurrent_futures.py b/Lib/test/test_concurrent_futures.py index d8e091979aee3d..e5eed9958111bf 100644 --- a/Lib/test/test_concurrent_futures.py +++ b/Lib/test/test_concurrent_futures.py @@ -485,7 +485,7 @@ def test_cancel_futures_wait_false(self): t = ThreadPoolExecutor() t.submit(sleep_and_print, .1, "apple") t.shutdown(wait=False, cancel_futures=True) - """.format(executor_type=self.executor_type.__name__)) + """) # Errors in atexit hooks don't change the process exit code, check # stderr manually. self.assertFalse(err)