
    daf                         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 G d dej                        Z	e
dk(  r ej                          yy)	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y)TestUntestedModulesc                    d}t        j                  d      5  |D ]G  }	 t        j                  dj	                  |             | j                  dj	                  |             I dd l	}	 dd l
}d d d        y # t        j                  $ r t        j                  |       Y w xY w# t        $ r t        j                  rt        d       Y ]w xY w# 1 sw Y   y xY w)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        +/root/Python-3.12.4/Lib/test/test_sundry.py%test_untested_modules_can_be_importedz9TestUntestedModules.test_untested_modules_can_be_imported	   s    !++$7 	*  88!//0E0Ed0KL II **0&,88 !*	* 	*  (( 2++D12  *??.)*	* 	*sL   C$A8&C+B&8(B# C"B##C&$C
CCCCN)__name__
__module____qualname__r        r   r   r      s    *r!   r   __main__)__doc__r   testr   test.supportr   r   r   TestCaser   r   mainr    r!   r   <module>r(      sC    H   & ( *(++ *, zHMMO r!   