Skip to content

Commit fbd2406

Browse files
test_concurrent_futures: Fix unneeded/confusing format call (GH-93119)
Added in 339fd46 - but as noted in a comment, the test only tests ThreadPoolExecutor. (cherry picked from commit 3f2dd0a) Co-authored-by: Florian Bruhin <[email protected]>
1 parent 7733aa0 commit fbd2406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_concurrent_futures.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ def test_cancel_futures_wait_false(self):
484484
t = ThreadPoolExecutor()
485485
t.submit(sleep_and_print, .1, "apple")
486486
t.shutdown(wait=False, cancel_futures=True)
487-
""".format(executor_type=self.executor_type.__name__))
487+
""")
488488
# Errors in atexit hooks don't change the process exit code, check
489489
# stderr manually.
490490
self.assertFalse(err)

0 commit comments

Comments
 (0)