(path, body)
| 9 | |
| 10 | |
| 11 | def executable(path, body): |
| 12 | require(not any(char.isspace() for char in sys.executable), "test Python shebang path contains whitespace") |
| 13 | path.write_text("#!" + sys.executable + "\n" + body, encoding="utf-8") |
| 14 | path.chmod(0o700) |
| 15 | return path |
| 16 | |
| 17 | |
| 18 | def untouched_runner(case): |
no test coverage detected