We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 499f4f5 commit 8e6ed27Copy full SHA for 8e6ed27
coverage/types.py
@@ -29,7 +29,7 @@ class Protocol: # pylint: disable=missing-class-docstring
29
## File paths
30
31
# For arguments that are file paths:
32
-FilePath = Union[str, os.PathLike]
+FilePath = Union[str, os.PathLike[str]]
33
# For testing FilePath arguments
34
FilePathClasses = [str, pathlib.Path]
35
FilePathType = Union[Type[str], Type[pathlib.Path]]
0 commit comments