From 724f6a67f241f39394b15c419570920ebdfefacb Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Fri, 9 Sep 2016 12:55:37 -0700 Subject: [PATCH] Rename test_pep####.py files --- Lib/test/{test_pep352.py => test_baseexception.py} | 0 Lib/test/{test_pep509.py => test_dict_version.py} | 0 .../{test_pep3151.py => test_exception_hierarchy.py} | 0 Lib/test/{test_pep479.py => test_generator_stop.py} | 0 Lib/test/test_tokenize.py | 11 ++++++----- ...{test_pep277.py => test_unicode_file_functions.py} | 0 .../{test_pep3131.py => test_unicode_identifiers.py} | 0 Lib/test/{test_pep3120.py => test_utf8source.py} | 0 Lib/test/{test_pep380.py => test_yield_from.py} | 0 9 files changed, 6 insertions(+), 5 deletions(-) rename Lib/test/{test_pep352.py => test_baseexception.py} (100%) rename Lib/test/{test_pep509.py => test_dict_version.py} (100%) rename Lib/test/{test_pep3151.py => test_exception_hierarchy.py} (100%) rename Lib/test/{test_pep479.py => test_generator_stop.py} (100%) rename Lib/test/{test_pep277.py => test_unicode_file_functions.py} (100%) rename Lib/test/{test_pep3131.py => test_unicode_identifiers.py} (100%) rename Lib/test/{test_pep3120.py => test_utf8source.py} (100%) rename Lib/test/{test_pep380.py => test_yield_from.py} (100%) diff --git a/Lib/test/test_pep352.py b/Lib/test/test_baseexception.py similarity index 100% rename from Lib/test/test_pep352.py rename to Lib/test/test_baseexception.py diff --git a/Lib/test/test_pep509.py b/Lib/test/test_dict_version.py similarity index 100% rename from Lib/test/test_pep509.py rename to Lib/test/test_dict_version.py diff --git a/Lib/test/test_pep3151.py b/Lib/test/test_exception_hierarchy.py similarity index 100% rename from Lib/test/test_pep3151.py rename to Lib/test/test_exception_hierarchy.py diff --git a/Lib/test/test_pep479.py b/Lib/test/test_generator_stop.py similarity index 100% rename from Lib/test/test_pep479.py rename to Lib/test/test_generator_stop.py diff --git a/Lib/test/test_tokenize.py b/Lib/test/test_tokenize.py index 77c0423d19..4c469a890f 100644 --- a/Lib/test/test_tokenize.py +++ b/Lib/test/test_tokenize.py @@ -1529,12 +1529,13 @@ class TestRoundtrip(TestCase): tempdir = os.path.dirname(fn) or os.curdir testfiles = glob.glob(os.path.join(tempdir, "test*.py")) - # Tokenize is broken on test_pep3131.py because regular expressions are - # broken on the obscure unicode identifiers in it. *sigh* - # With roundtrip extended to test the 5-tuple mode of untokenize, - # 7 more testfiles fail. Remove them also until the failure is diagnosed. + # Tokenize is broken on test_unicode_identifiers.py because regular + # expressions are broken on the obscure unicode identifiers in it. + # *sigh* With roundtrip extended to test the 5-tuple mode of + # untokenize, 7 more testfiles fail. Remove them also until the + # failure is diagnosed. - testfiles.remove(os.path.join(tempdir, "test_pep3131.py")) + testfiles.remove(os.path.join(tempdir, "test_unicode_identifiers.py")) for f in ('buffer', 'builtin', 'fileio', 'inspect', 'os', 'platform', 'sys'): testfiles.remove(os.path.join(tempdir, "test_%s.py") % f) diff --git a/Lib/test/test_pep277.py b/Lib/test/test_unicode_file_functions.py similarity index 100% rename from Lib/test/test_pep277.py rename to Lib/test/test_unicode_file_functions.py diff --git a/Lib/test/test_pep3131.py b/Lib/test/test_unicode_identifiers.py similarity index 100% rename from Lib/test/test_pep3131.py rename to Lib/test/test_unicode_identifiers.py diff --git a/Lib/test/test_pep3120.py b/Lib/test/test_utf8source.py similarity index 100% rename from Lib/test/test_pep3120.py rename to Lib/test/test_utf8source.py diff --git a/Lib/test/test_pep380.py b/Lib/test/test_yield_from.py similarity index 100% rename from Lib/test/test_pep380.py rename to Lib/test/test_yield_from.py -- 2.40.0