Message243464
| 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:27 | Al.Sweigart | set | recipients:
+ Al.Sweigart |
| 2015年05月18日 07:36:27 | Al.Sweigart | set | messageid: <1431934587.56.0.38760352205.issue24225@psf.upfronthosting.co.za> |
| 2015年05月18日 07:36:27 | Al.Sweigart | link | issue24225 messages |
| 2015年05月18日 07:36:26 | Al.Sweigart | create |
|