-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-109625: Move _ready_to_import
from test_import
to import_helper
#109626
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
e1b40d4
to
4839fd4
Compare
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.
LGTM
@@ -43,8 +43,6 @@ | ||
from test import inspect_stringized_annotations | ||
from test import inspect_stringized_annotations_2 | ||
|
||
from test.test_import import _ready_to_import |
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.
Oh no, we should not make tests inter-dependents. This change goes to the right direction!
Merged, thanks. I just modified a little bit the commit message. |
Thanks! I will rebase #109607 shortly. |
Sorry, @sobolevn and @vstinner, I could not cleanly backport this to |
…import_helper (pythonGH-109626) (cherry picked from commit 115c49a) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
GH-109640 is a backport of this pull request to the 3.12 branch. |
@sobolevn: Can you please backport this change to the 3.11 branch? I was told to backport all test refactoring changes to stable branches: #108303 (comment) |
…upport.import_helper (pythonGH-109626). (cherry picked from commit 115c49a) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
GH-109718 is a backport of this pull request to the 3.11 branch. |
Done! |
Refs #109607
test.test_import._ready_to_import
helper totest.support.import_helper
#109625