Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
[3.13] gh-71339: Add additional assertion methods in test.support (GH-128707)#128815
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[3.13] gh-71339: Add additional assertion methods in test.support (GH-128707)#128815
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…honGH-128707)Add a mix-in class ExtraAssertions containing the following methods:* assertHasAttr() and assertNotHasAttr()* assertIsSubclass() and assertNotIsSubclass()* assertStartsWith() and assertNotStartsWith()* assertEndsWith() and assertNotEndsWith()(cherry picked from commit06cad77)
6f77663
toab80b68
Comparec6a566e
intopython:3.13Uh oh!
There was an error while loading.Please reload this page.
Thanks@serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry,@serhiy-storchaka, I could not cleanly backport this to
|
…t.support (pythonGH-128707) (pythonGH-128815)Add a mix-in class ExtraAssertions containing the following methods:* assertHasAttr() and assertNotHasAttr()* assertIsSubclass() and assertNotIsSubclass()* assertStartsWith() and assertNotStartsWith()* assertEndsWith() and assertNotEndsWith()(cherry picked from commitc6a566e)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>(cherry picked from commit06cad77)
GH-129059 is a backport of this pull request to the3.12 branch. |
…-128707) (GH-128815) (GH-129059)Add a mix-in class ExtraAssertions containing the following methods:* assertHasAttr() and assertNotHasAttr()* assertIsSubclass() and assertNotIsSubclass()* assertStartsWith() and assertNotStartsWith()* assertEndsWith() and assertNotEndsWith()(cherry picked from commitc6a566e)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>(cherry picked from commit06cad77)
@@ -28,7 +29,7 @@ def anchor02(self): | |||
return importlib.import_module('data02') | |||
class FunctionalAPIBase(util.DiskSetup): | |||
class FunctionalAPIBase(util.DiskSetup, ExtraAssertions): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
The change in this file is going to be overwritten unless ported over to importlib_resources (and backported to support Python 3.9).
Uh oh!
There was an error while loading.Please reload this page.
Add a mix-in class ExtraAssertions containing the following methods:
(cherry picked from commit06cad77)
This will help to backport new tests that use new assertion methods.