Your IP : 216.73.216.213


Current Path : /opt/alt/python35/lib/python3.5/site-packages/nose/tools/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib/python3.5/site-packages/nose/tools/__pycache__/trivial.cpython-35.pyc



[O_Q��@s�dZddlZddlZddgZdZddd�Zddd�Zejd�Zd	d
�Z	Gdd�dej
�Zed
�ZxPdd�e
e�D�D]5Ze	e�Zeee�e�e<eje�q�W[[[	dS)z�Tools so trivial that tracebacks should not descend into them

We define the ``__unittest`` symbol in their module namespace so unittest will
skip them when printing tracebacks, just as it does for their corresponding
methods in ``unittest`` proper.

�N�ok_�eq_�cCs|st|��dS)z4Shorthand for assert. Saves 3 whole characters!
    N)�AssertionError)�expr�msg�r�C/opt/alt/python35/lib/python3.5/site-packages/nose/tools/trivial.pyrscCs,||ks(t|p"d||f��dS)z6Shorthand for 'assert a == b, "%r != %r" % (a, b)
    z%r != %rN)r)�a�brrrr	rsz([A-Z])cCstjdd�|�S)NcSsd|j�dj�S)N�_r)�groups�lower)�mrrr	�<lambda>'szpep8.<locals>.<lambda>)�caps�sub)�namerrr	�pep8&src@seZdZdd�ZdS)�DummycCsdS)Nrrrrr	�nop*sz	Dummy.nopN)�__name__�
__module__�__qualname__rrrrr	r)srrcCs1g|]'}|jd�rd|kr|�qS)�assertr)�
startswith)�.0�atrrr	�
<listcomp>.s	r)�__doc__�re�unittest�__all__�
__unittestrr�compilerr�TestCaserZ_t�dirrZpepd�getattr�vars�appendrrrr	�<module>s"