summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-07-19 02:12:40 (GMT)
committerGitHub <noreply@github.com>2022-07-19 02:12:40 (GMT)
commit3f2dd0a7c0b1a5112f2164dce78fcfaa0c4b39c7 (patch)
treece4ce702ff34d083529470936b8d67547d7c3649
parent7a1a85d64088a9eaefaf30d6aa50711cb4ed8245 (diff)
downloadcpython-3f2dd0a7c0b1a5112f2164dce78fcfaa0c4b39c7.zip
cpython-3f2dd0a7c0b1a5112f2164dce78fcfaa0c4b39c7.tar.gz
cpython-3f2dd0a7c0b1a5112f2164dce78fcfaa0c4b39c7.tar.bz2
test_concurrent_futures: Fix unneeded/confusing format call (#93119)
Added in 339fd46cb764277cbbdc3e78dcc5b45b156bb6ae - but as noted in a comment, the test only tests ThreadPoolExecutor.
-rw-r--r--Lib/test/test_concurrent_futures.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_concurrent_futures.py b/Lib/test/test_concurrent_futures.py
index f50255b..e294bd3 100644
--- a/Lib/test/test_concurrent_futures.py
+++ b/Lib/test/test_concurrent_futures.py
@@ -485,7 +485,7 @@ class ThreadPoolShutdownTest(ThreadPoolMixin, ExecutorShutdownTest, BaseTestCase
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)