Visitar URL original
gh-121090: Skip test_shebang_command_in_venv if Python is not installed by encukou · Pull Request #121091 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20251103183816/https://github.com/python/cpython/pull/121091
Skip to content

Conversation

@encukou
Copy link
Member

@encukou encukou commented Jun 27, 2024 •

This skip works on a fresh Windows machine.

@encukou encukou requested a review from zooba June 27, 2024 11:29
@bedevere-app bedevere-app bot added the tests Tests in the Lib/test dir label Jun 27, 2024
with self.script(f'#! /usr/bin/env {stem} arg1') as script:
data = self.run_py([script], expect_returncode=103)

if not is_installed("3"):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The function checks for specific registry keys, so you'll need a 3.x or 3.x-32/3.x-arm64 for this to ever return True.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants