python (3.11.7)
    e+                     2   d Z ddlZddlZddlmZ ddlmZ ddlZddlZddl	Z	 ej
                    d             Z G d dej                  Z
 G d d	ej                  Z G d
 de          Z G d d
e          Zd Zedk    r ej                     dS dS )z&Unit tests for socket timeout feature.    N)support)
socket_helperc                     t          j        |           5  t          j        | |t          j        t          j                  d         d         cddd           S # 1 swxY w Y   dS )zResolve an (host, port) to an address.
    We must perform name resolution before timeout tests, otherwise it will be
    performed by connect().
    r      N)r   transient_internetsocketgetaddrinfoAF_INETSOCK_STREAM)hostports     E/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/test/test_timeout.pyresolve_addressr   
   s     
	)$	/	/ <