[Python-checkins] bpo-36680: Rename duplicate test_source_from_cache_path_like_arg function (GH-12893)

Steve Dower webhook-mailer at python.org
Mon Apr 22 14:52:11 EDT 2019


https://github.com/python/cpython/commit/c442b1c486db5cb0aa589b43f73385d9cc5706e3
commit: c442b1c486db5cb0aa589b43f73385d9cc5706e3
branch: master
author: Windson yang <wiwindson at outlook.com>
committer: Steve Dower <steve.dower at microsoft.com>
date: 2019-04-22T11:50:24-07:00
summary:

bpo-36680: Rename duplicate test_source_from_cache_path_like_arg function (GH-12893)

files:
M Lib/test/test_importlib/test_util.py

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 @@ def test_sep_altsep_and_sep_cache_from_source(self):
 
     @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))



More information about the Python-checkins mailing list