cpython/Lib/test/test_tools
Stefano Rivera 17d447e993
gh-126014: test_makefile_test_folders: Ignore basically-empty directories (#140466)
The code in test_makefile was attempting to ignore any
non-interesting files, but missed some corners:

1. There is never a *file* called `__pycache__`.
2. A directory containing only a `__pycache__` subdirectory should be
   ignored.
3. A directory containing only hidden files should be ignored.

Simplify this all into a couple of filters that let us check for empty
lists.
2026-01-27 11:05:09 +01:00
..
i18n_data gh-134357: Remove unused imports in tests (#134340) 2025-05-25 20:09:02 +00:00
msgfmt_data gh-131852: Filter out POT-Creation-Date in msgfmt (GH-131880) 2025-04-05 22:38:39 +03:00
__init__.py test_peg_generator and test_freeze require cpu (#108386) 2023-08-24 00:52:48 +02:00
__main__.py
test_freeze.py gh-113384: Skip test_freeze for framework builds on macOS (#113390) 2023-12-22 11:35:54 +01:00
test_i18n.py gh-130197: Test pygettext --output option (GH-133041) 2025-05-01 19:30:24 +03:00
test_makefile.py gh-126014: test_makefile_test_folders: Ignore basically-empty directories (#140466) 2026-01-27 11:05:09 +01:00
test_makeunicodedata.py gh-96954: Use skip_if_missing in test_makeunicodedata (GH-111764) 2023-11-06 15:32:35 +01:00
test_msgfmt.py gh-130197: Improve test coverage of msgfmt.py (GH-133048) 2025-05-01 13:32:11 +00:00
test_reindent.py gh-108303: Move tokenize-related data to Lib/test/tokenizedata (GH-109265) 2023-09-12 09:37:42 +03:00
test_sundry.py GH-107458: fix test_tools refleak (#107577) 2023-08-03 06:36:02 +00:00