Lines Matching defs:from
2 from test import support
3 from test.support import os_helper
4 from test.support import socket_helper
5 from test.support import threading_helper
21 from weakref import proxy
294 client/server pair from an existing unit test. To create a
295 new threaded class from an existing unit test, use multiple
1234 from socket import inet_aton as f, inet_pton, AF_INET
1268 from socket import inet_pton, AF_INET6, has_ipv6
1272 self.skipTest('could not import needed symbols from socket')
1331 from socket import inet_ntoa as f, inet_ntop, AF_INET
1358 from socket import inet_ntop, AF_INET6, has_ipv6
1362 self.skipTest('could not import needed symbols from socket')
2678 # RecvmsgGenericTests inherit from SendrecvmsgBase and expect to be
2907 # Send from buffer obtained from a generator (not a sequence).
2915 # Gather (empty) ancillary data from a generator.
2923 # Send data from an array instead of the usual bytes object.
2931 # Send message data from more than one buffer (gather write).
3341 # Receive into buffer obtained from a generator (not a sequence).
3477 # of the given return value from recvmsg() or recvmsg_into().
3525 # Pass a single FD (array read from bytes object).
3824 # Given ancillary data list ancdata, return a mapping from
4838 the client connection. You can read from this file to
4839 get output from the server.
4901 self.assertIn("cannot read from timed out object", str(ctx.exception))
4999 """Repeat the tests from FileObjectClassTestCase with bufsize==0.
5002 create a file object, read a line from it, create another file
5003 object, read another line from it, without loss of data in the
5005 when reading multiple requests from the same socket."""
5897 # from the standpoint of the Python API. For Python socket
5952 # Recreate socket from shared data
5966 # and service it from there.
6016 # from the actual value, so it may not compare correctly.