Author Al.Sweigart
Recipients Al.Sweigart
Date 2015-05-18.07:36:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431934587.56.0.38760352205.issue24225@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-05-18 07:36:27Al.Sweigartsetrecipients: + Al.Sweigart
2015-05-18 07:36:27Al.Sweigartsetmessageid: <1431934587.56.0.38760352205.issue24225@psf.upfronthosting.co.za>
2015-05-18 07:36:27Al.Sweigartlinkissue24225 messages
2015-05-18 07:36:26Al.Sweigartcreate