()
| 13 | def test_stdin_not_patched(pyfile, target, run, redirect_output): |
| 14 | @pyfile |
| 15 | def code_to_debug(): |
| 16 | import sys |
| 17 | import debuggee |
| 18 | from debuggee import backchannel |
| 19 | |
| 20 | debuggee.setup() |
| 21 | backchannel.send(sys.stdin is sys.__stdin__) |
| 22 | |
| 23 | with debug.Session() as session: |
| 24 | session.config["redirectOutput"] = bool(redirect_output) |