[New-bugs-announce] [issue24225] IDLE test filenames don't match script filenames.

Al Sweigart report at bugs.python.org
Mon May 18 09:36:27 CEST 2015

New submission from Al Sweigart:

>From the idlelib/idle_test/README.txt file:

"The idle_test subdirectory should contain a test_xyz.py for each, where 'xyz' is lowercased even if xyz.py is not."

However, this means the test file names are inconsistent with the scripts they test. Of the 20 test_*.py files, all 20 are inconsistent. Some of the test filenames don't even match the file, such as test_config_name.py which tests configSectionNameDialog.py.

Since the original filenames aren't lowercase like the rest of the standard library, it would be better to rename them rather than renaming the test files: AutoComplete.py to autocomplete.py, ColorDelegator.py to colordelegator.py, etc. This is a find-and-replace change. Any shorter, better names for modules can also be made at this time.

components: IDLE
messages: 243464
nosy: Al.Sweigart
priority: normal
severity: normal
status: open
title: IDLE test filenames don't match script filenames.
versions: Python 3.5

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list