Skip to content

Commit 8e6ed27

Browse files
committed
fix: Remove missing type parameter
1 parent 499f4f5 commit 8e6ed27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coverage/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Protocol: # pylint: disable=missing-class-docstring
2929
## File paths
3030

3131
# For arguments that are file paths:
32-
FilePath = Union[str, os.PathLike]
32+
FilePath = Union[str, os.PathLike[str]]
3333
# For testing FilePath arguments
3434
FilePathClasses = [str, pathlib.Path]
3535
FilePathType = Union[Type[str], Type[pathlib.Path]]

0 commit comments

Comments
 (0)