Skip to content

Commit 2cec87b

Browse files
Jakub-CZjaraco
authored andcommitted
Add test capturing missed expectation. Ref #257.
1 parent 9f5b437 commit 2cec87b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

importlib_resources/tests/test_files.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ def test_read_text(self):
3434
def test_traversable(self):
3535
assert isinstance(resources.files(self.data), Traversable)
3636

37+
def test_joinpath_with_multiple_args(self):
38+
files = resources.files(self.data)
39+
binfile = files.joinpath('subdirectory', 'binary.file')
40+
self.assertTrue(binfile.is_file())
41+
3742
def test_old_parameter(self):
3843
"""
3944
Files used to take a 'package' parameter. Make sure anyone

0 commit comments

Comments
 (0)