mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-43643: Sync with python/importlib_resources@c17a610aad. (GH-26284)
* bpo-43643: Sync with python/importlib_resources@c17a610aad. * Sync with python/importlib_resources@89fd5e961a.
This commit is contained in:
parent
b51081c1a8
commit
875b3d84b3
4 changed files with 10 additions and 1 deletions
|
@ -82,6 +82,12 @@ class MultiplexedPathTest(unittest.TestCase):
|
|||
"MultiplexedPath('{}')".format(self.folder),
|
||||
)
|
||||
|
||||
def test_name(self):
|
||||
self.assertEqual(
|
||||
MultiplexedPath(self.folder).name,
|
||||
os.path.basename(self.folder),
|
||||
)
|
||||
|
||||
|
||||
class NamespaceReaderTest(unittest.TestCase):
|
||||
site_dir = str(pathlib.Path(__file__).parent)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue