mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Add workflow stubtests for macos (#5384)
* Add macos to stubtest * Add general darwin stubtest exception file * Adding exceptions and platform ifs
This commit is contained in:
@@ -54,11 +54,11 @@ def normpath(path: PathLike[AnyStr]) -> AnyStr: ...
|
||||
@overload
|
||||
def normpath(path: AnyStr) -> AnyStr: ...
|
||||
|
||||
if sys.platform == "win32":
|
||||
if sys.version_info >= (3, 10):
|
||||
@overload
|
||||
def realpath(path: PathLike[AnyStr]) -> AnyStr: ...
|
||||
def realpath(filename: PathLike[AnyStr], *, strict: bool = ...) -> AnyStr: ...
|
||||
@overload
|
||||
def realpath(path: AnyStr) -> AnyStr: ...
|
||||
def realpath(filename: AnyStr, *, strict: bool = ...) -> AnyStr: ...
|
||||
|
||||
else:
|
||||
@overload
|
||||
|
||||
Reference in New Issue
Block a user