FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-106368: Increase Argument Clinic test coverage by erlend-aasland · Pull Request #107582 · python/cpython · GitHub

/ cpython Public

gh-106368: Increase Argument Clinic test coverage - #107582

Merged
erlend-aasland merged 1 commit into
python:mainfrom
erlend-aasland:clinic/sm-and-ds-coverage
Aug 3, 2023
Merged

gh-106368: Increase Argument Clinic test coverage#107582
erlend-aasland merged 1 commit into
python:mainfrom
erlend-aasland:clinic/sm-and-ds-coverage

Conversation

erlend-aasland commented Aug 3, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

Add tests for DSL parser state machine and docstring formatting

Add tests for DSL parser state machine and docstring formatting

Copy link
Copy Markdown
Contributor Author

Increases coverage from 91% to 92%. Catches most of the weird branches in the state machine. The remaining branches are hard, if not impossible, to trigger. There are multiple layers of conditions and exception handling; I'd not be surprised if most of the remaining branches are actually unreachable.

AlexWaygood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

The .py tests LGTM! Just one question:

Comment thread Lib/test/test_clinic.py

Copy link
Copy Markdown
Contributor Author

Thanks for the review!

erlend-aasland linked an issue Aug 3, 2023 that may be closed by this pull request
erlend-aasland merged commit a73daf5 into python:main Aug 3, 2023
erlend-aasland deleted the clinic/sm-and-ds-coverage branch August 3, 2023 10:43
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Increase Argument Clinic test coverage

3 participants


Back | FazBrowse Home | New Git URL