Skip to content

[3.12] gh-129269: Exclude everything in sys.path in test_coverage_ignore (gh-130133)#130358

Merged
colesbury merged 1 commit into
python:3.12from
colesbury:backport-35925e9-3.12
Feb 20, 2025
Merged

[3.12] gh-129269: Exclude everything in sys.path in test_coverage_ignore (gh-130133)#130358
colesbury merged 1 commit into
python:3.12from
colesbury:backport-35925e9-3.12

Conversation

@colesbury
Copy link
Copy Markdown
Contributor

@colesbury colesbury commented Feb 20, 2025

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 35925e9)

…age_ignore` (pythongh-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.
(cherry picked from commit 35925e9)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant