Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

colesbury
Copy link
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 <[email protected]>
@bedevere-app bedevere-app bot added tests Tests in the Lib/test dir awaiting core review labels Feb 20, 2025
@colesbury colesbury enabled auto-merge (squash) February 20, 2025 15:22
@colesbury colesbury merged commit 60410f3 into python:3.12 Feb 20, 2025
30 checks passed
@colesbury colesbury deleted the backport-35925e9-3.12 branch February 28, 2025 15:01
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