Your IP : 216.73.216.196


Current Path : /opt/alt/python310/lib64/python3.10/test/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/test/__pycache__/test_sundry.cpython-310.opt-2.pyc

o

0�ir�@sx	ddlZddlZddlZddlmZddlmZddlmZddlZddlZGdd�dej	�Z
edkr:e��dSdS)�N)�support)�
import_helper)�warnings_helperc@seZdZdd�Zdd�ZdS)�TestUntestedModulesc
Cs�d}tjdd��S|D]$}z
t�d�|��Wntjy&t�|�Yqw|�d�|��qddl	}zddl
}WntyJtj
rHtd�Yn	wWd�dSWd�dS1s^wYdS)N)Z	encodingsT��quietztest.test_{}z5{} has tests even though test_sundry claims otherwiserzskipping tty)r�check_warningsr�
import_module�format�unittest�SkipTest�	importlibZfailZ
html.entities�tty�ImportErrorr�verbose�print)�selfZuntested�nameZhtmlr�r�7/opt/alt/python310/lib64/python3.10/test/test_sundry.py�%test_untested_modules_can_be_importeds.�������"z9TestUntestedModules.test_untested_modules_can_be_importedcCs.tjdd���tjdd�}ddl}dtjvr#|tjdd�<t�d��ddl}ddl	}ddl
}ddl}ddl}ddl
}ddl}tj�d�rMt��sMddl}ddl}ddl}ddl}ddl}ddl}ddl}ddl}ddl}ddl}ddl}ddl}ddl}ddl}ddl }Wd�dS1s�wYdS)NTrrZ_distutils_hackz6setuptools has replaced distutils with its own version�win)!rr�sys�path�	distutils�modulesrrZdistutils.bcppcompilerZdistutils.ccompilerZdistutils.cygwinccompilerZdistutils.filelistZdistutils.text_fileZdistutils.unixccompilerZdistutils.command.bdist_dumb�platform�
startswithZwin32_is_iotZdistutils.command.bdist_msiZdistutils.command.bdistZdistutils.command.bdist_rpmZdistutils.command.build_clibZdistutils.command.build_extZdistutils.command.buildZdistutils.command.cleanZdistutils.command.configZdistutils.command.install_dataZ"distutils.command.install_egg_infoZ!distutils.command.install_headersZdistutils.command.install_libZdistutils.command.registerZdistutils.command.sdistZdistutils.command.upload)rZ	path_copyrrrr�test_distutils_modules s@
	�
"�z*TestUntestedModules.test_distutils_modulesN)�__name__�
__module__�__qualname__rrrrrrrsr�__main__)
r
rr�testrZtest.supportrrrZTestCaserr�mainrrrr�<module>sB�