| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Diff from mypy_primer, showing the effect of this PR on open source code: schemathesis (https://github.com/schemathesis/schemathesis)
- src/schemathesis/generation/coverage.py: note: In member "is_valid_for_location" of class "CoverageContext":
- src/schemathesis/generation/coverage.py:258: error: Statement is unreachable [unreachable]
- src/schemathesis/generation/coverage.py: note: In member "leads_to_negative_test_case" of class "CoverageContext":
- src/schemathesis/generation/coverage.py:264: error: Statement is unreachable [unreachable]
- src/schemathesis/generation/coverage.py: note: In member "will_be_serialized_to_string" of class "CoverageContext":
- src/schemathesis/generation/coverage.py:272: error: Right operand of "and" is never evaluated [unreachable]
- src/schemathesis/generation/coverage.py: note: In function "_positive_string":
- src/schemathesis/generation/coverage.py:958: error: Statement is unreachable [unreachable]
- src/schemathesis/generation/coverage.py: note: In function "_negative_format":
- src/schemathesis/generation/coverage.py:1496: error: Statement is unreachable [unreachable]
|
Sorry, something went wrong.
| if t.last_known_value: | ||
| result.update(ambiguous_enum_equality_keys(t.last_known_value)) | ||
| elif t.type.is_enum and any( | ||
| base.fullname in ("enum.IntEnum", "enum.StrEnum", "builtins.str", "builtins.int") |
There was a problem hiding this comment.
this is important line in the diff / review without whitespace changes
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes some of the primer regressions from #20492
Fixes #19753
This should also happen to fix the case mentioned by cdce8p in #20492 (comment)