mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
parent
7d3d209b54
commit
847ec75d3e
2 changed files with 43 additions and 15 deletions
|
@ -553,6 +553,10 @@ class GeneralModuleTests(unittest.TestCase):
|
|||
self.assertTrue(hasattr(socket, 'SIO_RCVALL'))
|
||||
self.assertTrue(hasattr(socket, 'RCVALL_ON'))
|
||||
self.assertTrue(hasattr(socket, 'RCVALL_OFF'))
|
||||
self.assertTrue(hasattr(socket, 'SIO_KEEPALIVE_VALS'))
|
||||
s = socket.socket()
|
||||
self.assertRaises(ValueError, s.ioctl, -1, None)
|
||||
s.ioctl(socket.SIO_KEEPALIVE_VALS, (1, 100, 100))
|
||||
|
||||
|
||||
class BasicTCPTest(SocketConnectedTest):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue