summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorWindson yang <wiwindson@outlook.com>2019-04-22 18:50:24 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2019-04-22 18:50:24 (GMT)
commitc442b1c486db5cb0aa589b43f73385d9cc5706e3 (patch)
tree81c7d3a48c72c36e4e351a230f22242be7348d0d /Lib
parent3d6f61edb8a6161148b3cf3eeb291408cc91154a (diff)
downloadcpython-c442b1c486db5cb0aa589b43f73385d9cc5706e3.zip
cpython-c442b1c486db5cb0aa589b43f73385d9cc5706e3.tar.gz
cpython-c442b1c486db5cb0aa589b43f73385d9cc5706e3.tar.bz2
bpo-36680: Rename duplicate test_source_from_cache_path_like_arg function (GH-12893)
Diffstat (limited to 'Lib')
-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 d134e3c..8739eea 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))