-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-129269: Exclude everything in sys.path in test_coverage_ignore
#130133
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
Conversation
…ore` 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.
🤖 New build scheduled with the buildbot fleet by @colesbury for commit d4efaf5 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F30617%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-refleak-buildbots label again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was about to look into this, glad I searched the tracker first :)
This is reproducible on 3.12 as well, let's backport.
Ugh, GitHub merged the PR into main, but hasn't marked the PR as merged: |
…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]>
GH-130357 is a backport of this pull request to the 3.13 branch. |
GH-130358 is a backport of this pull request to the 3.12 branch. |
This is merged. |
…ore` (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.
The
test_trace.test_coverage_ignore
test would fail if you hadsetuptools
installed, such as in~/.local/lib/python3.xxx/site-packages/
. Ignore everything insys.path
when running the test.test_coverage_ignore
intest_trace
fails if setuptools is installed #129269