Open
Description
Bug report
- Build CPython on macOS
- Activate a virtual environment as described in https://devguide.python.org/testing/coverage/#install-coverage
- 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
- Fix
test_sysconfig
gh-103224: Resolve paths properly intest_sysconfig
#103292 - Fix
test_venv
GH-103224: Use the realpath of the Python executable intest_venv
#103243
Your environment
- CPython versions tested on:
main
- Operating system and architecture: macOS 13.2.1
Linked PRs
- GH-103224: Use the realpath of the Python executable in
test_venv
#103243 - gh-103224: Resolve paths properly in
test_sysconfig
#103292 - Revert "gh-103224: Use the realpath of the Python executable in
test_venv
(GH-103243)" #108667 - [3.12] gh-103224: Resolve paths properly in test_sysconfig (GH-103292) #115100
- [3.11] gh-103224: Resolve paths properly in test_sysconfig (GH-103292) #115101