Skip to content

Fix the doctest.testmod() docstring #136675

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

Conversation

serhiy-storchaka
Copy link
Member

test = None is not supported since Python 2.4.

__test__ = None is not supported since Python 2.4.
@serhiy-storchaka serhiy-storchaka added docs Documentation in the Doc dir skip issue skip news needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Jul 15, 2025
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs Jul 15, 2025
@serhiy-storchaka serhiy-storchaka merged commit cb59eae into python:main Jul 15, 2025
52 checks passed
@miss-islington-app
Copy link

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Jul 15, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 15, 2025
__test__ = None is not supported since Python 2.4.
(cherry picked from commit cb59eae)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@serhiy-storchaka serhiy-storchaka deleted the doctest-testmod-docstring branch July 15, 2025 16:42
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 15, 2025
__test__ = None is not supported since Python 2.4.
(cherry picked from commit cb59eae)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Jul 15, 2025

GH-136690 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Jul 15, 2025
@bedevere-app
Copy link

bedevere-app bot commented Jul 15, 2025

GH-136691 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 15, 2025
serhiy-storchaka added a commit that referenced this pull request Jul 15, 2025
__test__ = None is not supported since Python 2.4.
(cherry picked from commit cb59eae)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull request Jul 15, 2025
__test__ = None is not supported since Python 2.4.
(cherry picked from commit cb59eae)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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 issue skip news
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant