◐ Shell
reader mode source ↗
Skip to content
Merged
Changes from all commits
File filter
Conversations
Jump to
Diff view
Apply and reload
Show whitespace
Diff view
Apply and reload
15 changes: 15 additions & 0 deletions Lib/test/test__xxsubinterpreters.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,20 @@ def _run_output(interp, request, shared=None):
return rpipe.read()


@contextlib.contextmanager
def _running(interp):
r, w = os.pipe()
Expand All @@ -51,6 +65,7 @@ def run():

t = threading.Thread(target=run)
t.start()

yield

Expand Down
Toggle all file notes Toggle all file annotations