Release 4.1.0#4600
Merged
Merged
Conversation
This allows to make use of it when determining the rootdir etc.
…features Merge master into features
Optimize/revisit determine_setup
approx() was updated in 9f3122f to work better with numpy arrays, however at the same time the requirements were tightened from requiring an Iterable to requiring a Sequence - the former being tested only on interface, while the latter requires subclassing or registration with the abc. Since the ApproxSequence only used __iter__ and __len__ this commit reduces the requirement to only what's used, and allows unregistered Sequence-like containers to be used. Since numpy arrays qualify for the new criteria, reorder the checks so that generic sequences are checked for after numpy arrays.
This handles `header` similar to Python 3.7 does it, and forwards any
other keyword arguments to the Pdb constructor.
This allows for `__import__("pdb").set_trace(skip=["foo.*"])`.
Fixes pytest-dev#4416.
Merge master into features
…st-namespace remove pytest namespace hook
This was documented before, but never enforced. Passing non-strings could have strange side-effects and enforcing a string simplifies other implementation.
Ensure that node ids are printable
…features Merge master into features
…reason Custom reason support for "importorskip"
asottile
approved these changes
Jan 5, 2019
Codecov Report
@@ Coverage Diff @@
## master #4600 +/- ##
==========================================
- Coverage 95.89% 95.75% -0.14%
==========================================
Files 111 111
Lines 25123 24678 -445
Branches 2449 2446 -3
==========================================
- Hits 24091 23630 -461
- Misses 726 740 +14
- Partials 306 308 +2
Continue to review full report at Codecov.
|
nicoddemus
commented
Jan 5, 2019
asottile
reviewed
Jan 5, 2019
asottile
reviewed
Jan 5, 2019
asottile
reviewed
Jan 5, 2019
a942a71 to
5e4659a
Compare
nicoddemus
commented
Jan 5, 2019
Contributor
|
🎉 |
5e4659a to
01151ff
Compare
asottile
reviewed
Jan 5, 2019
nicoddemus
commented
Jan 5, 2019
RonnyPfannschmidt
approved these changes
Jan 5, 2019
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



🎉