Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_launcher fails if no Python is installed #121090

Open
encukou opened this issue Jun 27, 2024 · 0 comments
Open

test_launcher fails if no Python is installed #121090

encukou opened this issue Jun 27, 2024 · 0 comments
Labels
OS-windows tests Tests in the Lib/test dir

Comments

@encukou
Copy link
Member

encukou commented Jun 27, 2024

If no Python is installed on a system, test_launcher fails with:

======================================================================
FAIL: test_shebang_command_in_venv (test.test_launcher.TestLauncher.test_shebang_command_in_venv)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\encukou\dev\cpython\Lib\test\test_launcher.py", line 765, in test_shebang_command_in_venv
    data = self.run_py([script], env=env)
  File "C:\Users\encukou\dev\cpython\Lib\test\test_launcher.py", line 254, in run_py
    self.assertEqual(expect_returncode, p.returncode)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 0 != 103

There's now a Buildbot that happens to have this config, see e.g. here

Linked PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS-windows tests Tests in the Lib/test dir
1 participant