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:
hatal175
2021-05-09 23:24:00 +03:00
committed by GitHub
parent 933787d5fe
commit 244fc622e6
15 changed files with 117 additions and 41 deletions

View File

@@ -41,6 +41,8 @@ if sys.platform != "win32":
def unregister(self, fileobj: FileDescriptorLike) -> SelectorKey: ...
def select(self, timeout: Optional[float] = ...) -> List[Tuple[SelectorKey, _EventMask]]: ...
def get_map(self) -> Mapping[FileDescriptorLike, SelectorKey]: ...
if sys.platform == "linux":
class EpollSelector(BaseSelector):
def fileno(self) -> int: ...
def register(self, fileobj: FileDescriptorLike, events: _EventMask, data: Any = ...) -> SelectorKey: ...