We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a690bd commit 43da83fCopy full SHA for 43da83f
Lib/test/test_concurrent_futures/test_interpreter_pool.py
@@ -511,7 +511,7 @@ def get_thread_name():
511
512
# Some platforms (Linux) are using 16 bytes to store the thread name,
513
# so only compare the first 15 bytes (without the trailing \n).
514
- self.assertStartsWith(self.executor.submit(f).result(),
+ self.assertStartsWith(self.executor.submit(get_thread_name).result(),
515
"InterpreterPoolExecutor-"[:15])
516
517
class AsyncioTest(InterpretersMixin, testasyncio_utils.TestCase):
0 commit comments