Skip to content

Commit d63403b

Browse files
committed
Add test capturing expectation revealed by #253.
1 parent 8dceab3 commit d63403b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

importlib_resources/tests/test_reader.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ def test_join_path(self):
7676
os.path.join('namespacedata01', 'imaginary'),
7777
)
7878

79+
def test_join_path_compound(self):
80+
path = MultiplexedPath(self.folder)
81+
assert not path.joinpath('imaginary/foo.py').exists()
82+
7983
def test_repr(self):
8084
self.assertEqual(
8185
repr(MultiplexedPath(self.folder)),

0 commit comments

Comments
 (0)