Skip to content

gh-136380: Fix import behavior for concurrent.futures.InterpreterPoolExecutor #136381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Jul 8, 2025
Merged
Prev Previous commit
Next Next commit
Update Lib/test/test_concurrent_futures/test_interpreter_pool.py
Co-authored-by: sobolevn <mail@sobolevn.me>
  • Loading branch information
aisk and sobolevn authored Jul 8, 2025
commit 0a9d5c81ee37ef67429ffcea40688e52d93aeeeb
2 changes: 1 addition & 1 deletion Lib/test/test_concurrent_futures/test_interpreter_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ def test_free_reference(self):
@support.requires_subprocess()
def test_import_interpreter_pool_executor(self):
# Test the import behavior normally if _interpreters is unavailable.
code = textwrap.dedent(f"""
code = textwrap.dedent("""
import sys
# Set it to None to emulate the case when _interpreter is unavailable.
sys.modules['_interpreters'] = None
Expand Down
Loading
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