(shebang=None)
| 67 | assert not is_python_script(exe, check_executable=True) |
| 68 | |
| 69 | def check_is_python_script(shebang=None): |
| 70 | # type: (Optional[str]) -> None |
| 71 | if shebang: |
| 72 | write_shebang(shebang) |
| 73 | assert is_python_script(exe, check_executable=not WINDOWS) |
| 74 | |
| 75 | chmod_plus_x(exe) |
| 76 |
no test coverage detected