mirror of
https://github.com/python/cpython.git
synced 2025-11-02 06:31:29 +00:00
gh-138044: Remove deprecated parameter alias for importlib.resources.files (#138059)
This commit is contained in:
parent
db53ca30d7
commit
8d17d79299
4 changed files with 8 additions and 49 deletions
|
|
@ -38,14 +38,6 @@ def test_joinpath_with_multiple_args(self):
|
|||
binfile = files.joinpath('subdirectory', 'binary.file')
|
||||
self.assertTrue(binfile.is_file())
|
||||
|
||||
def test_old_parameter(self):
|
||||
"""
|
||||
Files used to take a 'package' parameter. Make sure anyone
|
||||
passing by name is still supported.
|
||||
"""
|
||||
with suppress_known_deprecation():
|
||||
resources.files(package=self.data)
|
||||
|
||||
|
||||
class OpenDiskTests(FilesTests, util.DiskSetup, unittest.TestCase):
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue