Repository navigation
fix: correct spelling errors in docstrings and test docs - #2093
Open
RoomWithOutRoof (Jah-yee) wants to merge 1 commit into
Open
RoomWithOutRoof (Jah-yee) wants to merge 1 commit into
RoomWithOutRoof (Jah-yee) wants to merge 1 commit into
Conversation
Fix four misspellings outside the vendored pydevd tree: 'occured' -> 'occurred' in src/debugpy/common/messaging.py, 'succesful'/'sucessful' -> 'successful' in tests/timeline.md, and 'writen' -> 'written' in tests/pytest_fixtures.py.
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
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.
Description
Fixes four spelling errors in debugpy's own (non-vendored) sources and test docs.
src/debugpy/common/messaging.py(line 1062):occured->occurred, in the docstring that describes the message-handling error contexttests/timeline.md(line 104):succesful->successful, in the note about the response body of a successful requesttests/timeline.md(line 115):sucessful->successful, in the description of whatrequest()returns on successtests/pytest_fixtures.py(line 199):writen->written, in theget_marked_line_numbers()docstringAll four occurrences are in comments and docstrings, so no runtime behaviour changes. The vendored
src/debugpy/_vendored/pydevd/tree is deliberately left untouched, since it is synced from upstream pydevd.Changes
How to test
python -m py_compile src/debugpy/common/messaging.py tests/pytest_fixtures.py(passes)pytest tests/test_timeline.pyexercises thetests/timeline.mdsnippets; the change there is textual only