mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-27456: Ensure TCP_NODELAY is set on linux (#4231)
This commit is contained in:
parent
4ac5150e06
commit
e796b2fe26
6 changed files with 53 additions and 31 deletions
|
@ -107,13 +107,6 @@ class BaseEventTests(test_utils.TestCase):
|
|||
self.assertIsNone(
|
||||
base_events._ipaddr_info('::3%lo0', 1, INET6, STREAM, TCP))
|
||||
|
||||
if hasattr(socket, 'SOCK_NONBLOCK'):
|
||||
self.assertEqual(
|
||||
None,
|
||||
base_events._ipaddr_info(
|
||||
'1.2.3.4', 1, INET, STREAM | socket.SOCK_NONBLOCK, TCP))
|
||||
|
||||
|
||||
def test_port_parameter_types(self):
|
||||
# Test obscure kinds of arguments for "port".
|
||||
INET = socket.AF_INET
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue