Skip to content

Commit

Permalink
Add test purported to capture the failure, but it still passes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Aug 12, 2021
1 parent 2678a5e commit d491aea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions importlib_metadata/_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ def json(self) -> Dict[str, Union[str, List[str]]]:
class SimplePath(Protocol):
"""
A minimal subset of pathlib.Path required by PathDistribution.
>>> import pathlib
>>> import typing
>>> _: SimplePath = typing.cast(pathlib.Path, None)
"""

def joinpath(self) -> 'SimplePath':
Expand Down

0 comments on commit d491aea

Please sign in to comment.