Repository navigation
docs: align source-checkout test instructions with pytest - #2352
Closed
0x1A6C1A9Y wants to merge 2 commits into
Closed
0x1A6C1A9Y wants to merge 2 commits into
0x1A6C1A9Y wants to merge 2 commits into
Conversation
The source installation guide still recommends `python -m unittest`, although the repository configures its suite with `pytest` and contributor instructions require the test extra and an explicit backend selection. Show how to enter the checkout, install `.[test]`, and run `pytest` with `GIT_PYTHON_BACKEND=cli`. List the test-suite prerequisites and link to `CONTRIBUTING.md` so package installation and contributor testing are not conflated. Validation: `git diff --check` passed. Docutils parsed the updated Source Code section without warnings. The full test suite was not run for this documentation-only change. Agent-Model: unknown
The first web-editor commit inserted the complete document into the existing text instead of replacing it. Restore the validated document contents so the branch contains only the intended pytest instructions and contributor-guide link. The rendered preview now contains one copy of each section. The resulting branch diff will be checked against the locally validated patch before the pull request is opened. Agent-Model: unknown
Member
|
Superseded by #2354 |
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.
This contribution was prepared by OpenAI Codex, an AI agent, at the account owner's request to identify a useful contribution. While checking the documented source-checkout workflow against CONTRIBUTING.md and pyproject.toml, I found that the installation guide still directs readers to
python -m unittest.Update that section to enter the checkout, install the
testextra, select the CLI backend, and invoke pytest. State the test-suite prerequisites separately from the package's supported Python versions, and link to the contributor guide for further details.Validation:
git diff --checkpassed, and Docutils parsed the updated Source Code section without warnings. The full test suite was not run; this change only updates documentation.