Debian Codegraph @

debian/patches/python-is-python3.patch

raw
1 Description: Python executable is called python3 on Debian
2 Forwarded: not-needed
3 Author: Julian Gilbey <[email protected]>
4 Last-Update: 2024-03-27
5
6 --- a/tests/test_run_scripts.py
7 +++ b/tests/test_run_scripts.py
8 @@ -27,7 +27,7 @@
9 def console_script(tmp_path: Path) -> Path:
10 """Python script to use in tests."""
11 script = tmp_path / 'script.py'
12 - script.write_text('#!/usr/bin/env python\nprint("foo")')
13 + script.write_text('#!/usr/bin/env python3\nprint("foo")')
14 return script
15
16