From: Windson yang Date: Mon, 22 Apr 2019 18:50:24 +0000 (+0800) Subject: bpo-36680: Rename duplicate test_source_from_cache_path_like_arg function (GH-12893) X-Git-Tag: v3.8.0a4~130 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c442b1c486db5cb0aa589b43f73385d9cc5706e3;p=thirdparty%2FPython%2Fcpython.git bpo-36680: Rename duplicate test_source_from_cache_path_like_arg function (GH-12893) --- diff --git a/Lib/test/test_importlib/test_util.py b/Lib/test/test_importlib/test_util.py index d134e3c3b04d..8739eea841d0 100644 --- a/Lib/test/test_importlib/test_util.py +++ b/Lib/test/test_importlib/test_util.py @@ -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))