bpo-36680: rename duplicate test_source_from_cache_path_like_arg function by Windsooon · Pull Request #12893 · python/cpython
Expand Up
@@ -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)) Expand Down
@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)) Expand Down