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

@terryjreedy terryjreedy commented Jun 7, 2021

Relative imports do not work when running test_x as main.

Relative imports do not work when running test_x as main.
@terryjreedy
Copy link
Member Author

terryjreedy commented Jun 7, 2021

@taleinat FYI, for the future.

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

miss-islington commented Jun 7, 2021

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

bedevere-bot commented Jun 7, 2021

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

@terryjreedy terryjreedy deleted the absolute branch Jun 7, 2021
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.

None yet

4 participants