-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Feature or enhancement
Proposal:
While working on some tests, sometimes when switching branches I have a leftover __pycache__
directory in an otherwise empty test folder. This can happen for example when converting a test file into its own directory.
test_makefile_test_folders
already ignores empty folders and __pycache__
folders separately. I think it'd be nice if it also ignored folders which only contain __pycache__
.
cc @sobolevn since you added this test originally :)
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
- gh-126014: Ignore
__pycache__
-only folders in makefile tests #126066 - [3.13] gh-126014: Ignore
__pycache__
-only folders in makefile tests (GH-126066) #126109 - [3.12] gh-126014: Ignore
__pycache__
-only folders in makefile tests (GH-126066) #126110 - gh-126014: test_makefile_test_folders: Ignore basically-empty directories #140466
serhiy-storchaka
Metadata
Metadata
Assignees
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error