Kaydet (Commit) c442b1c4 authored tarafından Windson yang's avatar Windson yang Kaydeden (comit) Steve Dower

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

üst 3d6f61ed
...@@ -682,7 +682,7 @@ class PEP3147Tests: ...@@ -682,7 +682,7 @@ class PEP3147Tests:
@unittest.skipIf(sys.implementation.cache_tag is None, @unittest.skipIf(sys.implementation.cache_tag is None,
'requires sys.implementation.cache_tag not be 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') path = pathlib.PurePath('foo', 'bar', 'baz', 'qux.py')
expect = os.path.join('foo', 'bar', 'baz', '__pycache__', expect = os.path.join('foo', 'bar', 'baz', '__pycache__',
'qux.{}.pyc'.format(self.tag)) 'qux.{}.pyc'.format(self.tag))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment