{{ message }}
bpo-5846: Deprecate obsolete methods in unittest#28299
Merged
ambv merged 10 commits intoSep 15, 2021
Merged
Conversation
…tTestCaseNames in unittest Scheduled for removal in Python 3.13
Member
|
I am working on a patch which gets rid of uses of obsolete functions. |
Sorry, something went wrong.
Contributor
Author
|
I had to adapt |
Sorry, something went wrong.
added 3 commits
September 13, 2021 00:58
This reverts commit d978b17.
Sync with main bco. python#28303
serhiy-storchaka
left a comment
Member
There was a problem hiding this comment.
Are all tests warning-free?
If these functions are not used in unittest tests, add special tests, catch DeprecationWarning and check the filename attribute (to ensure that the stacklevel is correct).
Sorry, something went wrong.
Contributor
Author
|
Thanks for reviewing and merging, @serhiy-storchaka and @ambv! |
Sorry, something went wrong.
lazka
added a commit
to lazka/distutils
that referenced
this pull request
Dec 27, 2021
See python/cpython#28299 loadTestsFromTestCase() is available since Python 2.7 at least.
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
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.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.
unittest.findTestCasesunittest.makeSuiteunittest.getTestCaseNamesScheduled for removal in Python 3.13
https://bugs.python.org/issue5846