Skip to content

Commit 43da83f

Browse files
committed
Fix test
1 parent 2a690bd commit 43da83f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_concurrent_futures/test_interpreter_pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ def get_thread_name():
511511

512512
# Some platforms (Linux) are using 16 bytes to store the thread name,
513513
# so only compare the first 15 bytes (without the trailing \n).
514-
self.assertStartsWith(self.executor.submit(f).result(),
514+
self.assertStartsWith(self.executor.submit(get_thread_name).result(),
515515
"InterpreterPoolExecutor-"[:15])
516516

517517
class AsyncioTest(InterpretersMixin, testasyncio_utils.TestCase):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy