
    <e                         d dl Zd dlZd dlmZ d dlmZ  ej        d            ej	        d           G d dej
                              Zedk    r ej                     dS dS )    N)supportnetworkz,XXX: buildbot.python.org/all/xmlrpc/ is gonec                       e Zd Zd ZdS )PythonBuildersTestc                 t   t          j        d          	                                 }n/# t          $ r"}|                     d|z             Y d }~nd }~ww xY w|                     fd           |                     |t          j        j	                   | 
                    d |D             |           d S )Nz&http://buildbot.python.org/all/xmlrpc/znetwork error: %sc                  *       d                      S )Nclose )servers   +/usr/lib/python3.11/test/test_xmlrpc_net.py<lambda>z9PythonBuildersTest.test_python_builders.<locals>.<lambda>   s    w 1 1     c                     g | ]}d |v |	S )z3.xr
   ).0xs     r   
<listcomp>z;PythonBuildersTest.test_python_builders.<locals>.<listcomp>   s    ;;;q




r   )	xmlrpclibServerProxygetAllBuildersOSErrorskipTest
addCleanupassertIsInstancecollectionsabcSequence
assertTrue)selfbuilderser   s      @r   test_python_buildersz'PythonBuildersTest.test_python_builders   s     &'OPP	3,,..HH 	3 	3 	3MM-122222222	31111222 	h(@AAA;;H;;;XFFFFFs   , 
AAAN)__name__
__module____qualname__r!   r
   r   r   r   r      s(        G G G G Gr   r   __main__)collections.abcr   unittesttestr   xmlrpc.clientclientr   requiresskipTestCaser   r"   mainr
   r   r   <module>r/      s               ! ! ! ! ! !      =>>G G G G G* G G ?>G$ zHMOOOOO r   