]> granicus.if.org Git - python/commitdiff
bpo-36680: Rename duplicate test_source_from_cache_path_like_arg function (GH-12893)
authorWindson yang <wiwindson@outlook.com>
Mon, 22 Apr 2019 18:50:24 +0000 (02:50 +0800)
committerSteve Dower <steve.dower@microsoft.com>
Mon, 22 Apr 2019 18:50:24 +0000 (11:50 -0700)
Lib/test/test_importlib/test_util.py

index d134e3c3b04dfc11ba186cad71e0cdb835b283e8..8739eea841d051f86a918cb633c9658d50323cbe 100644 (file)
@@ -682,7 +682,7 @@ class PEP3147Tests:
 
     @unittest.skipIf(sys.implementation.cache_tag is None,
                      'requires sys.implementation.cache_tag not be None')
-    def test_source_from_cache_path_like_arg(self):
+    def test_cache_from_source_path_like_arg(self):
         path = pathlib.PurePath('foo', 'bar', 'baz', 'qux.py')
         expect = os.path.join('foo', 'bar', 'baz', '__pycache__',
                               'qux.{}.pyc'.format(self.tag))