Various stubtest fixes (#5230)

This commit is contained in:
hatal175 authored and GitHub committed 2021-04-18 09:30:00 -07:00
1 parent f44f38fda3
commit fbf21995e3
14 files changed
+46 -46

No files matched your search

+18 -2
View File
@@ -84,5 +84,21 @@ class SMTPServer(asyncore.dispatcher):
) -> Optional[str]: ...
class DebuggingServer(SMTPServer): ...
class PureProxy(SMTPServer): ...
class MailmanProxy(PureProxy): ...
class PureProxy(SMTPServer):
def process_message( # type: ignore
self,
peer: _Address,
mailfrom: str,
rcpttos: List[Text],
data: Union[bytes, str],
) -> Optional[str]: ...
class MailmanProxy(PureProxy):
def process_message( # type: ignore
self,
peer: _Address,
mailfrom: str,
rcpttos: List[Text],
data: Union[bytes, str],
) -> Optional[str]: ...