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

Use absolute import in IDLE tests #26581

Merged
merged 1 commit into from
Jun 7, 2021
Merged

Conversation

terryjreedy
Copy link
Member

Relative imports do not work when running test_x as main.

Relative imports do not work when running test_x as main.
@bedevere-bot bedevere-bot added awaiting core review tests Tests in the Lib/test dir labels Jun 7, 2021
@terryjreedy terryjreedy added needs backport to 3.10 only security fixes skip issue skip news type-bug An unexpected behavior, bug, or error labels Jun 7, 2021
@terryjreedy
Copy link
Member Author

@taleinat FYI, for the future.

@terryjreedy terryjreedy merged commit e915db3 into python:main Jun 7, 2021
@miss-islington
Copy link
Contributor

Thanks @terryjreedy for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 7, 2021
Relative imports do not work when running test_x as main.
(cherry picked from commit e915db3)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@bedevere-bot
Copy link

GH-26583 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Jun 7, 2021
@terryjreedy terryjreedy deleted the absolute branch June 7, 2021 21:57
miss-islington added a commit that referenced this pull request Jun 7, 2021
Relative imports do not work when running test_x as main.
(cherry picked from commit e915db3)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip issue skip news tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants