Skip to content

Conversation

@zware
Copy link
Member

@zwarezware commented Nov 7, 2021

  • Uniform usage of test.support.requires_docstrings instead of a
    local check for -OO.
  • Added requires_docstrings to a couple more methods that need it.
  • Replaced a few instances of test.test_pydoc with __name__ to allow
    for different methods of running just this test file.
  • Rewrote test_server to run faster and better test the server.
  • Removed unused import.
  • Removed unused locals.
  • Minor whitespace cleanups.

- Uniform usage of `test.support.requires_docstrings` instead of a local check for `-OO`. - Added `requires_docstrings` to a couple more methods that need it. - Replaced a few instances of `test.test_pydoc` with `__name__` to allow for different methods of running just this test file. - Rewrote `test_server` to run faster and better test the server. - Removed unused import. - Removed unused locals. - Minor whitespace cleanups.
@zwarezware self-assigned this Nov 7, 2021
@zwarezware merged commit fd41125 into python:mainNov 7, 2021
@zwarezware deleted the test_pydoc_cleanup branch November 7, 2021 23:44
@miss-islington
Copy link
Contributor

Thanks @zware for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry, @zware, I could not cleanly backport this to 3.10 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker fd41125f0f1bd73e0137580d4a5bfaeaef87c283 3.10

@miss-islington
Copy link
Contributor

Sorry @zware, I had trouble checking out the 3.9 backport branch.
Please backport using cherry_picker on command line.
cherry_picker fd41125f0f1bd73e0137580d4a5bfaeaef87c283 3.9

remykarem pushed a commit to remykarem/cpython that referenced this pull request Dec 7, 2021
- Uniform usage of `test.support.requires_docstrings` instead of a local check for `-OO`. - Added `requires_docstrings` to a couple more methods that need it. - Replaced a few instances of `test.test_pydoc` with `__name__` to allow for different methods of running just this test file. - Rewrote `test_server` to run faster and better test the server. - Removed unused import. - Removed unused locals. - Minor whitespace cleanups.
remykarem pushed a commit to remykarem/cpython that referenced this pull request Jan 30, 2022
- Uniform usage of `test.support.requires_docstrings` instead of a local check for `-OO`. - Added `requires_docstrings` to a couple more methods that need it. - Replaced a few instances of `test.test_pydoc` with `__name__` to allow for different methods of running just this test file. - Rewrote `test_server` to run faster and better test the server. - Removed unused import. - Removed unused locals. - Minor whitespace cleanups.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip issueskip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@zware@miss-islington@the-knights-who-say-ni@bedevere-bot