mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
merge 3.4 (#25471)
This commit is contained in:
commit
2775d85d55
3 changed files with 9 additions and 1 deletions
|
@ -3866,6 +3866,7 @@ class NonBlockingTCPTests(ThreadedTCPSocketTest):
|
|||
read, write, err = select.select([self.serv], [], [])
|
||||
if self.serv in read:
|
||||
conn, addr = self.serv.accept()
|
||||
self.assertIsNone(conn.gettimeout())
|
||||
conn.close()
|
||||
else:
|
||||
self.fail("Error trying to do accept after select.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue