Skip to content

Commit d491aea

Browse files
committed
Add test purported to capture the failure, but it still passes.
1 parent 2678a5e commit d491aea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

importlib_metadata/_meta.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ def json(self) -> Dict[str, Union[str, List[str]]]:
3333
class SimplePath(Protocol):
3434
"""
3535
A minimal subset of pathlib.Path required by PathDistribution.
36+
37+
>>> import pathlib
38+
>>> import typing
39+
>>> _: SimplePath = typing.cast(pathlib.Path, None)
3640
"""
3741

3842
def joinpath(self) -> 'SimplePath':

0 commit comments

Comments
 (0)