summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWindson yang <wiwindson@outlook.com>2019-04-23 02:50:24 +0800
committerSteve Dower <steve.dower@microsoft.com>2019-04-22 11:50:24 -0700
commitc442b1c486db5cb0aa589b43f73385d9cc5706e3 (patch)
tree81c7d3a48c72c36e4e351a230f22242be7348d0d
parent3d6f61edb8a6161148b3cf3eeb291408cc91154a (diff)
downloadcpython-git-c442b1c486db5cb0aa589b43f73385d9cc5706e3.tar.gz
bpo-36680: Rename duplicate test_source_from_cache_path_like_arg function (GH-12893)
-rw-r--r--Lib/test/test_importlib/test_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/test_util.py b/Lib/test/test_importlib/test_util.py
index d134e3c3b0..8739eea841 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))