
    6\h
                         d Z ddlZddlmZ ddlmZ ddlmZ ddlZddlZ G d dej	                  Z
edk    r ej                     dS dS )	zBDo a minimal test of all the modules that aren't otherwise tested.    N)support)import_helper)warnings_helperc                       e Zd Zd Zd ZdS )TestUntestedModulesc                    d}t          j        d          5  |D ]{}	 t          j        d                    |                     |                     d                    |                     S# t          j        $ r t          j        |           Y xw xY wdd l	}	 dd l
}n+# t          $ r t          j        rt          d           Y nw xY wd d d            d S # 1 swxY w Y   d S )N)	encodingsTquietztest.test_{}z5{} has tests even though test_sundry claims otherwiser   zskipping tty)r   check_warningsr   import_moduleformatfailunittestSkipTest	importlibhtml.entitiesttyImportErrorr   verboseprint)selfuntestednamehtmlr   s        :/opt/python-3.11.14/usr/lib/python3.11/test/test_sundry.py%test_untested_modules_can_be_importedz9TestUntestedModules.test_untested_modules_can_be_imported
   si   !+$777 	* 	*  8 88!/0E0Ed0K0KLLL II **0&,,8 8 8 8  ( 2 2 2+D111112 !   *



 * * *? *.)))*	* 	* 	* 	* 	* 	* 	* 	* 	* 	* 	* 	* 	* 	* 	* 	* 	* 	*sX   C'A.)C.#BCBCB! C!%C	CC		CC Cc                    t          j        d          5  t          j        d d          }dd l}dt          j        v r%|t          j        d d <   t          j        d          dd l}dd l	}dd l
}dd l}dd l}dd l}dd l}dd l}dd l}dd l}dd l}dd l}dd l}dd l}dd l}dd l}dd l}dd l}dd l}dd l}dd l}d d d            d S # 1 swxY w Y   d S )NTr
   r   _distutils_hackz6setuptools has replaced distutils with its own version)r   r   syspath	distutilsmodulesr   r   distutils.bcppcompilerdistutils.ccompilerdistutils.cygwinccompilerdistutils.filelistdistutils.text_filedistutils.unixccompilerdistutils.command.bdist_dumbdistutils.command.bdistdistutils.command.bdist_rpmdistutils.command.build_clibdistutils.command.build_extdistutils.command.builddistutils.command.cleandistutils.command.configdistutils.command.install_data"distutils.command.install_egg_info!distutils.command.install_headersdistutils.command.install_libdistutils.command.registerdistutils.command.sdistdistutils.command.upload)r   	path_copyr"   s      r   test_distutils_modulesz*TestUntestedModules.test_distutils_modules   s   +$777 &	, &	,I CK// ('LN N N *)))&&&&,,,,%%%%&&&&****////****....////....********++++1111555544440000----****++++M&	, &	, &	, &	, &	, &	, &	, &	, &	, &	, &	, &	, &	, &	, &	, &	, &	, &	,s   B CC
CN)__name__
__module____qualname__r   r:        r   r   r   	   s2        * * *(', ', ', ', ',r?   r   __main__)__doc__r   testr   test.supportr   r   r   r    TestCaser   r;   mainr>   r?   r   <module>rF      s    H H           & & & & & & ( ( ( ( ( (  



<, <, <, <, <,(+ <, <, <,@ zHMOOOOO r?   