Move import of _format_explanation in _pytest.assertion.rewrite#4863
Merged
Conversation
nicoddemus
approved these changes
Mar 1, 2019
nicoddemus
left a comment
Member
There was a problem hiding this comment.
If tests pass and @benjaminp agrees, LGTM!
Codecov Report
@@ Coverage Diff @@
## features #4863 +/- ##
============================================
- Coverage 95.75% 95.65% -0.11%
============================================
Files 113 113
Lines 25724 25216 -508
Branches 2511 2504 -7
============================================
- Hits 24632 24120 -512
- Misses 773 775 +2
- Partials 319 321 +2
Continue to review full report at Codecov.
|
Contributor
Author
|
Fails quite badly, e.g. It is not clear to me how this works / is being called from - but at least it can be moved to the top it seems. |
Member
|
Oh then it is probably being used by the rewritten AST. |
Member
|
And yes it can be moved to the top. 👍 |
Contributor
Author
|
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.
Moved/added there in 250160b, but apparently not intentionally?!
# noqawas only added later in two steps./cc @benjaminp