FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-5846: Do not use obsolete unittest functions. by serhiy-storchaka · Pull Request #28303 · python/cpython · GitHub

/ cpython Public

bpo-5846: Do not use obsolete unittest functions. - #28303

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:unittest-makesuite
Sep 13, 2021
Merged

bpo-5846: Do not use obsolete unittest functions.#28303
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:unittest-makesuite

Conversation

serhiy-storchaka commented Sep 13, 2021
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

Get rid of use of makeSuite() and findTestCases().
Also make test_math and test_threading_local discoverable.

https://bugs.python.org/issue5846

erlend-aasland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Please use defaultTestLoader instead of creating a new instance whenever possible.

Get rid of use of makeSuite() and findTestCases().
Also make test_math and test_threading_local discoverable.
serhiy-storchaka merged commit 851811f into python:main Sep 13, 2021
serhiy-storchaka deleted the unittest-makesuite branch September 13, 2021 07:49
erlend-aasland pushed a commit to erlend-aasland/cpython that referenced this pull request Sep 13, 2021
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL