-
Notifications
You must be signed in to change notification settings - Fork 211
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
Remove multiprocess finalizer and improve subprocess docs #265
Merged
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
3160976
Stop using multiprocess finalizers. Better document workarounds for u…
ionelmc 1210cdc
Rename file.
ionelmc 0533855
Update docs/subprocess-support.rst
blueyed 892f4e1
Update docs/subprocess-support.rst
blueyed b494c37
Update docs/subprocess-support.rst
blueyed 5d49467
Remove the note about windows completely.
ionelmc 1cb8ce6
Well ... bring back the finalizer, but make the cleanup reentrant.
ionelmc 8014767
Remove this attribute and rely on pytest_cov.embed's internal storage…
ionelmc 38c89a8
Ignore SIG_DFL (lil regression).
ionelmc 5374581
Avoid doubly registering the signal handler (so the previous handler …
ionelmc 710e4cc
Add missing global.
ionelmc 8a2bfa8
Add a test for #250.
ionelmc 4046fc2
Add a windows specific test.
ionelmc 65d50cf
Some renaming to better reflect what is actually tested.
ionelmc 49f55d6
Add few more multiprocessing tests and change some details for skips.
ionelmc b449d92
Skip a bunch of stuff on windows+pypy - it's broken, see https://gith…
ionelmc c32c158
Correct some assertions. Revert bogus change.
ionelmc ab9d7bc
Run this fewer times. Maybe travis too slow for such heavy test.
ionelmc cd0c4a4
Rework a bit the mp pool integration tests to generate a line of code…
ionelmc 3d3b488
Some cleanup.
ionelmc 2291d76
Skip this on windows/pypy (xdist broken).
ionelmc 8f1b9e6
Extend assertion a bit.
ionelmc 478152e
Change the docs again to reflect the current implementation.
ionelmc 7aa50d9
Fix escaping.
ionelmc 3709127
Use travis_wait (mainly for pypy which often times out).
ionelmc 35f38f4
Use travispls instead - travis_wait is so broken ...
ionelmc bcdce59
Don't run pypy3 on Windows.
ionelmc c11fe04
Skip the terminate tests on PyPy and remove travispls (doesn't work o…
ionelmc 103d1ef
Remove the automatic SIGTERM handler install from the afterfork
ionelmc 66d8ade
Avoid having stray tracers around. This fixes an "AssertionError: Exp…
ionelmc 65959fc
Avoid writing bogus data files from dead coverage tracers.
ionelmc fdc43ec
Allow COV_CORE_SOURCE to be empty (it'd be converted to None). Also u…
ionelmc 7557f67
Fix cleanup leaving unusable state.
ionelmc 42f0307
Always skip this on PyPy as it sometimes fail with `error: release un…
ionelmc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I think it could be kept, but the problem appears to be that only pypy gets installed (unconditionally)?!
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.
See pytest-dev/pytest@ec69514 for installing it only if needed.
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.
We don't install pypy there at all - it's preinstalled. Either way, I don't want to bother with pypy3 yet on Windows (it's beta anyway, and xdist is broken on pypy windows, so why bother with extensive testing on such a platform).