Skip to content

Commit abfef1d

Browse files
committed
Leave this behavior uncovered.
1 parent 84e46fc commit abfef1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

importlib_resources/readers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def joinpath(self, *descendants):
8888
except abc.TraversalError as exc:
8989
# One of the paths didn't resolve.
9090
msg, target, names = exc.args
91-
if names:
91+
if names: # pragma: nocover
9292
raise
9393
# It was the last; construct result with the first path.
9494
return self._paths[0].joinpath(target)

0 commit comments

Comments
 (0)