Skip to content

Virtual environment breaks test_sysconfig and test_venv tests on macOS #103224

Open
@artemmukhin

Description

@artemmukhin

Bug report

  1. Build CPython on macOS
  2. Activate a virtual environment as described in https://devguide.python.org/testing/coverage/#install-coverage
  3. Run python -m test

Results in:

== Tests result: FAILURE ==

2 tests failed:
    test_sysconfig test_venv

$ python -m test test_venv --verbose
...
AssertionError: Lists differ

First differing element 0:
'/.../bin/python.exe'
'/.../bin/python'

TODO

Your environment

  • CPython versions tested on: main
  • Operating system and architecture: macOS 13.2.1

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions