B
    u9a   ã               @   s†   d dl Z d dlZd dlZd dlZd dlmZ ej 	ej 
e¡d¡Zej 	ed¡ZddgZG dd„ de jƒZd	d
„ Zedkr‚e  ¡  dS )é    N)Úassert_python_failureZcrashersz*.pyzinfinite_loop_re.pyznasty_eq_vs_dict.pyc               @   s&   e Zd Ze d¡ejjdd„ ƒƒZdS )ÚCrasherTestzthese tests are too fragilec             C   sD   x>t   t¡D ]0}tj |¡tkr"qtjjr4t	d|ƒ t
|ƒ qW d S )NzChecking crasher:)ÚglobÚCRASHER_FILESÚosÚpathÚbasenameÚinfinite_loopsÚtestÚsupportÚverboseÚprintr   )ÚselfZfname© r   ú#/usr/lib/python3.7/test_crashers.pyÚtest_crashers_crash   s    
zCrasherTest.test_crashers_crashN)	Ú__name__Ú
__module__Ú__qualname__ÚunittestÚskipr
   r   Zcpython_onlyr   r   r   r   r   r      s   r   c               C   s   t j ¡  d S )N)r
   r   Zreap_childrenr   r   r   r   ÚtearDownModule!   s    r   Ú__main__)r   r   Zos.pathr   Ztest.supportr
   Ztest.support.script_helperr   r   ÚjoinÚdirnameÚ__file__ZCRASHER_DIRr   r	   ZTestCaser   r   r   Úmainr   r   r   r   Ú<module>   s   