mirror of
https://github.com/python/cpython.git
synced 2025-11-07 13:28:19 +00:00
Merge 3.4
This commit is contained in:
commit
a3f82bad16
1 changed files with 1 additions and 1 deletions
|
|
@ -1368,7 +1368,7 @@ class BaseEventLoopWithSelectorTests(test_utils.TestCase):
|
||||||
self.assertRaises(
|
self.assertRaises(
|
||||||
OSError, self.loop.run_until_complete, coro)
|
OSError, self.loop.run_until_complete, coro)
|
||||||
|
|
||||||
@patch_socket
|
@patch_socket
|
||||||
def test_create_datagram_endpoint_socket_err(self, m_socket):
|
def test_create_datagram_endpoint_socket_err(self, m_socket):
|
||||||
m_socket.getaddrinfo = socket.getaddrinfo
|
m_socket.getaddrinfo = socket.getaddrinfo
|
||||||
m_socket.socket.side_effect = OSError
|
m_socket.socket.side_effect = OSError
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue