mirror of
https://github.com/python/cpython
synced 2024-10-07 03:30:09 +00:00
test_concurrent_futures: Fix unneeded/confusing format call (#93119)
Added in 339fd46cb7
- but as noted in a comment, the test only tests ThreadPoolExecutor.
This commit is contained in:
parent
7a1a85d640
commit
3f2dd0a7c0
|
@ -485,7 +485,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)
|
||||
|
|
Loading…
Reference in a new issue