Module Import alias Import alias identifier ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Str Num Expr Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Delete NameDel Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assert CompareIn NameLoad ListLoad Num Num Num TupleLoad NameLoad NameLoad Assert CompareIn Str Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Str Num Expr Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assert Call NameLoad NameLoad Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Str finalbody Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr TupleLoad Str Num handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore AttributeLoad NameLoad attr Assert CompareIn NameLoad ListLoad Num Num Num Call AttributeLoad Str attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A unittest N/A socket _original_sock eventlet.green socket TestSocketErrors N/A N/A unittest TestCase N/A test_connection_refused N/A N/A self N/A N/A N/A server N/A N/A socket socket N/A socket AF_INET N/A socket SOCK_STREAM N/A N/A N/A server bind N/A 127.0.0.1 0 N/A N/A N/A server listen 1 N/A port N/A N/A N/A server getsockname N/A 1 N/A N/A N/A server close N/A server N/A s N/A N/A socket socket N/A N/A N/A N/A N/A s connect N/A 127.0.0.1 port N/A N/A N/A self fail Shouldn't have connected N/A N/A N/A N/A socket error N/A ex N/A N/A N/A code text N/A ex args N/A N/A code N/A 111 61 10061 N/A code text N/A N/A refused N/A N/A text lower N/A code text N/A test_timeout_real_socket N/A N/A self N/A N/A N/A  Test underlying socket behavior to ensure correspondence
            between green sockets and the underlying socket module.  N/A N/A N/A self test_timeout socket _original_sock N/A test_timeout N/A N/A self socket N/A socket N/A N/A  Test that the socket timeout exception works correctly.  N/A server N/A N/A socket socket N/A socket AF_INET N/A socket SOCK_STREAM N/A N/A N/A server bind N/A 127.0.0.1 0 N/A N/A N/A server listen 1 N/A port N/A N/A N/A server getsockname N/A 1 N/A s N/A N/A socket socket N/A N/A N/A s connect N/A 127.0.0.1 port N/A N/A cs addr N/A N/A server accept N/A N/A N/A cs settimeout 1 N/A N/A N/A N/A N/A N/A N/A cs recv 1024 N/A N/A N/A self fail Should have timed out N/A N/A N/A N/A socket timeout N/A ex N/A N/A N/A hasattr ex args N/A N/A N/A len N/A ex args 1 N/A N/A N/A N/A ex args N/A 0 timed out N/A N/A N/A N/A s close N/A N/A N/A cs close N/A N/A N/A server close N/A N/A test_create_connection_refused N/A N/A N/A N/A N/A errno None N/A N/A N/A N/A N/A socket create_connection N/A 127.0.0.1 0 N/A N/A N/A N/A socket error N/A ex N/A N/A errno N/A ex errno N/A N/A errno N/A 111 61 10061 N/A N/A Expected socket.error ECONNREFUSED, got {0} format errno N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main