8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b3fc31 commit 74e1755Copy full SHA for 74e1755
Lib/test/test_launcher.py
@@ -766,9 +766,9 @@ def test_shebang_command_in_venv(self):
766
self.assertEqual(data["stdout"].strip(), f"{quote(exe)} arg1 {quote(script)}")
767
768
def test_shebang_executable_extension(self):
769
- with self.script('#! /usr/bin/env python3.12') as script:
770
- data = self.run_py([script])
771
- expect = "# Search PATH for python3.12.exe"
+ with self.script('#! /usr/bin/env python3.99') as script:
+ data = self.run_py([script], expect_returncode=103)
+ expect = "# Search PATH for python3.99.exe"
772
actual = [line.strip() for line in data["stderr"].splitlines()
773
if line.startswith("# Search PATH")]
774
self.assertEqual([expect], actual)
0 commit comments