()
| 54 | def _running(interp): |
| 55 | r, w = os.pipe() |
| 56 | def run(): |
| 57 | _interpreters.run_string(interp, dedent(f""" |
| 58 | # wait for "signal" |
| 59 | with open({r}, encoding="utf-8") as rpipe: |
| 60 | rpipe.read() |
| 61 | """)) |
| 62 | |
| 63 | t = threading.Thread(target=run) |
| 64 | t.start() |
no test coverage detected