Skip to content

test_filter_to_company() in test_launcher fails due to py.ini #98414

Description

@eryksun

The test in test_filter_to_company() executes a dry run of the launcher with the argument "-V:PythonTestSuite/". The filter is incomplete, but the test expects the launcher to select "PythonTestSuite/3.100", with the command "X.Y.exe". In practice, however, a default version set in "py.ini" overrides an incomplete filter by company. I assume this is a bug in the launcher, that it's supposed to select the best match among the installations for the given company instead of using the default version. That's how it behaves if no default is set in "py.ini" or the "PY_PYTHON" environment variable.

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    3.11only security fixes
    3.12only security fixes
    on Oct 18, 2022
  2. zooba commented on Oct 19, 2022

    @zooba
    Member

    Yes correct, it shouldn't use the default value in this case.

  3. added 2 commits that reference this issue on Oct 19, 2022
  4. added 2 commits that reference this issue on Oct 19, 2022
  5. added a commit that references this issue on Oct 20, 2022
  6. added a commit that references this issue on Oct 22, 2022
  7. hauntsaninja commented on Oct 26, 2022

    @hauntsaninja
    Contributor

    Thanks, looks like this was completed

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

Metadata

Metadata

Assignees

Labels

3.11only security fixes3.12only security fixesOS-windowstype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions