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

No files matched your search

+2
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: ...