GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||
GeezerVison is showing github.com — gh-108303: Remove `Lib/test/shadowed_super.py` by sobolevn · Pull Request #114372 · python/cpython Conversation
|
| ) | ||
| with import_helper.ready_to_import(name="shadowed_super", source=source): | ||
| import shadowed_super | ||
| self.assertEqual(shadowed_super.C().method(), "truly super") |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to unload the module explicitly after its usage? Use unload() of import_helper.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Move code into Lib/test/test_super.py. (cherry picked from commit 2ef520e) Co-authored-by: Nikita Sobolev <[email protected]>
|
Sorry, @sobolevn and @vstinner, I could not cleanly backport this to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-114433 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
There is no need to backport to 3.11: Lib/test/shadowed_super.py doesn't exist in the 3.11 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Move code into Lib/test/test_super.py.
Move code into Lib/test/test_super.py.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.