Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Lib/test/test_tools/test_makefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ def test_makefile_test_folders(self):
used = [idle_test]
for dirpath, _, _ in os.walk(support.TEST_HOME_DIR):
dirname = os.path.basename(dirpath)
if dirname == '__pycache__':
if (
dirname == '__pycache__'
or dirname.startswith('.')
or not os.listdir(dirpath)
Comment thread
furkanonder marked this conversation as resolved.
Outdated
):
continue

relpath = os.path.relpath(dirpath, support.STDLIB_DIR)
Expand Down