8000 test_concurrent_futures: Fix unneeded/confusing format call (#93119) · python/cpython@3f2dd0a · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f2dd0a

Browse files
authored
test_concurrent_futures: Fix unneeded/confusing format call (#93119)
Added in 339fd46 - but as noted in a comment, the test only tests ThreadPoolExecutor.
1 parent 7a1a85d commit 3f2dd0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_concurrent_futures.py

Lines changed: 1 addition & 1 deletion
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)
0