]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-129269: Exclude everything in sys.path in `test_coverage_ignore` (gh-130133...
authorSam Gross <colesbury@gmail.com>
Thu, 20 Feb 2025 15:37:43 +0000 (10:37 -0500)
committerGitHub <noreply@github.com>
Thu, 20 Feb 2025 15:37:43 +0000 (15:37 +0000)
commit60410f3c761f829760036a5345bbf8bc9e44d100
tree7cb06637327ef9132f1d8f43db3eea2c243eb6f6
parent77cba87472a64238cb01e65280bbd7fd3fe70b60
[3.12] gh-129269: Exclude everything in sys.path in `test_coverage_ignore` (gh-130133) (gh-130358)

The `test_trace.test_coverage_ignore` test would fail if you had
`setuptools` installed, such as in `~/.local/lib/python3.xxx/site-packages/`.
Ignore everything in `sys.path` when running the test.
(cherry picked from commit 35925e952911aba97bfdaee85b09d734ceac4fea)
Lib/test/test_trace.py