Skip to content

Commit 96e1516

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 dda9198 commit 96e1516

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
@@ -485,7 +485,7 @@ def test_cancel_futures_wait_false(self):
485485
t = ThreadPoolExecutor()
486486
t.submit(sleep_and_print, .1, "apple")
487487
t.shutdown(wait=False, cancel_futures=True)
488-
""".format(executor_type=self.executor_type.__name__))
488+
""")
489489
# Errors in atexit hooks don't change the process exit code, check
490490
# stderr manually.
491491
self.assertFalse(err)

0 commit comments

Comments
 (0)