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 <rep...@bugs.python.org>
<http://bugs.python.org/issue24225>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to