diff options
| author | Eric Snow <ericsnowcurrently@gmail.com> | 2024-02-28 23:08:08 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-28 23:08:08 (GMT) |
| commit | e80abd57a82ea1beae0a82423d45c6eb8c5c5c74 (patch) | |
| tree | 3fd81507ec511caa0a98f2141ce8af6953359fb0 /Lib/test/test_threading.py | |
| parent | 67c19e57b5c928278ebd191a545979ce786f06b3 (diff) | |
| download | cpython-e80abd57a82ea1beae0a82423d45c6eb8c5c5c74.zip cpython-e80abd57a82ea1beae0a82423d45c6eb8c5c5c74.tar.gz cpython-e80abd57a82ea1beae0a82423d45c6eb8c5c5c74.tar.bz2 | |
gh-76785: Update test.support.interpreters to Align With PEP 734 (gh-115566)
This brings the code under test.support.interpreters, and the corresponding extension modules, in line with recent updates to PEP 734.
(Note: PEP 734 has not been accepted at this time. However, we are using an internal copy of the implementation in the test suite to exercise the existing subinterpreters feature.)
Diffstat (limited to 'Lib/test/test_threading.py')
| -rw-r--r-- | Lib/test/test_threading.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py index 1ab223b..3b5c37c 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -1478,7 +1478,7 @@ class SubinterpThreadingTests(BaseTestCase): DONE = b'D' interp = interpreters.create() - interp.exec_sync(f"""if True: + interp.exec(f"""if True: import os import threading import time |
