From c489361de64e2669b3b91b4a9c57eb0dc9df62d6 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 23 May 2022 16:52:34 +0200 Subject: [PATCH] test_concurrent_futures: Fix unneeded/confusing format call Added in 339fd46cb764277cbbdc3e78dcc5b45b156bb6ae - but as noted in a comment, the test only tests ThreadPoolExecutor. --- Lib/test/test_concurrent_futures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_concurrent_futures.py b/Lib/test/test_concurrent_futures.py index 6f3b4609232bbb..f0473495fdc655 100644 --- a/Lib/test/test_concurrent_futures.py +++ b/Lib/test/test_concurrent_futures.py @@ -484,7 +484,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)