]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129269: Exclude everything in sys.path in `test_coverage_ignore` (gh-130133)
authorSam Gross <colesbury@gmail.com>
Thu, 20 Feb 2025 15:13:44 +0000 (10:13 -0500)
committerGitHub <noreply@github.com>
Thu, 20 Feb 2025 15:13:44 +0000 (10:13 -0500)
commit35925e952911aba97bfdaee85b09d734ceac4fea
tree912f4fdba3ea51735286e267bb129cad224f6bf9
parent8cbcf51d614815df3ab7ea557f04e6b4b386968e
gh-129269: Exclude everything in sys.path in `test_coverage_ignore` (gh-130133)

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.
Lib/test/test_trace.py