Skip to content

gh-155731: Clean up files left by test_import - #155735

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:test-import-leftover-files
Aug 13, 2026
Merged

gh-155731: Clean up files left by test_import#155735
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:test-import-leftover-files

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Aug 13, 2026

Copy link
Copy Markdown
Member

Remove the __pycache__ directory created for a temporary module and the script left by test_import_in_del_does_not_crash().

test_import() and test_unencodable_filename() left the __pycache__
directory created for a temporary module, and
test_import_in_del_does_not_crash() left the script it created.
@serhiy-storchaka serhiy-storchaka added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes skip news tests Tests in the Lib/test dir and removed skip news labels Aug 13, 2026
@serhiy-storchaka
serhiy-storchaka merged commit b0ba60e into python:main Aug 13, 2026
68 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@serhiy-storchaka
serhiy-storchaka deleted the test-import-leftover-files branch August 13, 2026 17:32
@bedevere-app

bedevere-app Bot commented Aug 13, 2026

Copy link
Copy Markdown

GH-155739 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 13, 2026
@bedevere-app

bedevere-app Bot commented Aug 13, 2026

Copy link
Copy Markdown

GH-155740 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Aug 13, 2026
@bedevere-app

bedevere-app Bot commented Aug 13, 2026

Copy link
Copy Markdown

GH-155741 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Aug 13, 2026
serhiy-storchaka added a commit that referenced this pull request Aug 13, 2026
…155741)

test_import() and test_unencodable_filename() left the __pycache__
directory created for a temporary module, and
test_import_in_del_does_not_crash() left the script it created.
(cherry picked from commit b0ba60e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull request Aug 13, 2026
…155740)

test_import() and test_unencodable_filename() left the __pycache__
directory created for a temporary module, and
test_import_in_del_does_not_crash() left the script it created.
(cherry picked from commit b0ba60e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants