Skip to content
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

Move test.test_import._ready_to_import helper to test.support.import_helper #109625

Closed
sobolevn opened this issue Sep 20, 2023 · 2 comments
Closed
Assignees
Labels
tests Tests in the Lib/test dir type-feature A feature request or enhancement

Comments

@sobolevn
Copy link
Member

sobolevn commented Sep 20, 2023

Feature or enhancement

It is used in test_import and test_inspect, right now test_inspect has to import test_import to use this function. Since we try to reduce the amount of test cross-dependencies, it is better to move it to the designated support module.

Refs #109607

Linked PRs

@sobolevn sobolevn added type-feature A feature request or enhancement tests Tests in the Lib/test dir labels Sep 20, 2023
@sobolevn sobolevn self-assigned this Sep 20, 2023
sobolevn added a commit to sobolevn/cpython that referenced this issue Sep 20, 2023
sobolevn added a commit to sobolevn/cpython that referenced this issue Sep 20, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Sep 21, 2023
…import_helper (pythonGH-109626)

(cherry picked from commit 115c49a)

Co-authored-by: Nikita Sobolev <[email protected]>
sobolevn added a commit to sobolevn/cpython that referenced this issue Sep 22, 2023
…upport.import_helper (pythonGH-109626).

(cherry picked from commit 115c49a)

Co-authored-by: Nikita Sobolev <[email protected]>
vstinner pushed a commit that referenced this issue Sep 22, 2023
….import_helper (GH-109626) (#109718)

[3.11] gh-109625: Move _ready_to_import() from test_import to support.import_helper (GH-109626).
(cherry picked from commit 115c49a)
csm10495 pushed a commit to csm10495/cpython that referenced this issue Sep 28, 2023
Yhg1s pushed a commit that referenced this issue Oct 2, 2023
….import_helper (GH-109626) (#109640)

gh-109625: Move _ready_to_import() from test_import to support.import_helper (GH-109626)
(cherry picked from commit 115c49a)

Co-authored-by: Nikita Sobolev <[email protected]>
@hugovk
Copy link
Member

hugovk commented Nov 9, 2023

Thanks!

@hugovk hugovk closed this as completed Nov 9, 2023
@hugovk
Copy link
Member

hugovk commented Nov 9, 2023

Thanks!

Glyphack pushed a commit to Glyphack/cpython that referenced this issue Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants