]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-129269: Exclude everything in sys.path in `test_coverage_ignore` (gh-130133...
authorSam Gross <colesbury@gmail.com>
Thu, 20 Feb 2025 15:42:47 +0000 (10:42 -0500)
committerGitHub <noreply@github.com>
Thu, 20 Feb 2025 15:42:47 +0000 (15:42 +0000)
commitef66394677d15616a79ee2423aa1219ad74fba43
tree2ecbe5748ee55a9aad122f2de4dcba87c2ed404f
parent0a992ff38339728b7589f20ced1bb3c611ff2502
[3.13] gh-129269: Exclude everything in sys.path in `test_coverage_ignore` (gh-130133) (gh-130357)

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