mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Committing Py3k version of changelist 64080 and 64257, along with updated tests
for smtpd, which required updating with the new semantics.
This commit is contained in:
parent
d51ee54a23
commit
d74900ebb5
8 changed files with 269 additions and 134 deletions
|
@ -14,6 +14,14 @@ from test import support
|
|||
|
||||
HOST = support.HOST
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
# select.poll returns a select.POLLHUP at the end of the tests
|
||||
# on darwin, so just ignore it
|
||||
def handle_expt(self):
|
||||
pass
|
||||
smtpd.SMTPChannel.handle_expt = handle_expt
|
||||
|
||||
|
||||
def server(evt, buf, serv):
|
||||
serv.listen(5)
|
||||
evt.set()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue