Skip to content

gh-64308: Remove TestProgram from the unittest docs #121675

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 14, 2024

Conversation

stinovlas
Copy link
Contributor

@stinovlas stinovlas commented Jul 13, 2024

Closes #64308.

Remove sole mention of TestProgram from unittest docs.


📚 Documentation preview 📚: https://cpython-previews--121675.org.readthedocs.build/

@encukou
Copy link
Member

encukou commented Jul 13, 2024

Thank you for the fix!
Could you link to the attribute's type here, so that people know how to use the result? Something like …contains the result of the run as a `:class:`unittest.TestResult`.

@stinovlas
Copy link
Contributor Author

Thank you for the fix! Could you link to the attribute's type here, so that people know how to use the result? Something like …contains the result of the run as a `:class:`unittest.TestResult`.

Sure, updated as instructed :-).

@encukou encukou added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Jul 14, 2024
@encukou encukou merged commit f6f4022 into python:main Jul 14, 2024
27 checks passed
@miss-islington-app
Copy link

Thanks @stinovlas for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 14, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 14, 2024
@bedevere-app
Copy link

bedevere-app bot commented Jul 14, 2024

GH-121742 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jul 14, 2024
@bedevere-app
Copy link

bedevere-app bot commented Jul 14, 2024

GH-121743 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Jul 14, 2024
encukou pushed a commit that referenced this pull request Jul 14, 2024
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
encukou pushed a commit that referenced this pull request Jul 18, 2024
GH-121743)

gh-64308: Remove TestProgram from the unittest docs (GH-121675)
(cherry picked from commit f6f4022)

Co-authored-by: Jan Musílek <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TestProgram is mentioned in the unittest docs but is not documented
2 participants