Description: Python executable is called python3 on Debian
Forwarded: not-needed
Author: Julian Gilbey <jdg@debian.org>
Last-Update: 2024-03-27

--- a/tests/test_run_scripts.py
+++ b/tests/test_run_scripts.py
@@ -27,7 +27,7 @@
 def console_script(tmp_path: Path) -> Path:
     """Python script to use in tests."""
     script = tmp_path / 'script.py'
-    script.write_text('#!/usr/bin/env python\nprint("foo")')
+    script.write_text('#!/usr/bin/env python3\nprint("foo")')
     return script
 
 
