Hacked By AnonymousFox

Current Path : /opt/alt/python35/lib64/python3.5/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/lib2to3/fixes/__pycache__/fix_asserts.cpython-35.pyc



��Yf��@s�dZddlmZddlmZedddddd	d
ddd
dddddddd	dddd
dddddd�ZGdd�de�ZdS)z5Fixer that replaces deprecated unittest method names.�)�BaseFix)�NameZassert_Z
assertTrueZassertEqualsZassertEqualZassertNotEqualsZassertNotEqualZassertAlmostEqualsZassertAlmostEqualZassertNotAlmostEqualsZassertNotAlmostEqualZassertRegexpMatchesZassertRegexZassertRaisesRegexpZassertRaisesRegexZfailUnlessEqualZfailIfEqualZfailUnlessAlmostEqualZfailIfAlmostEqualZ
failUnlessZfailUnlessRaisesZassertRaisesZfailIfZassertFalsec@s8eZdZddjeee��Zdd�ZdS)�
FixAssertszH
              power< any+ trailer< '.' meth=(%s)> any* >
              �|cCs8|dd}|jttt|�d|j��dS)N�meth��prefix)�replacer�NAMES�strr)�selfZnodeZresults�name�r�>/opt/alt/python35/lib64/python3.5/lib2to3/fixes/fix_asserts.py�	transform szFixAsserts.transformN)	�__name__�
__module__�__qualname__�join�map�reprr
ZPATTERNrrrrrrsrN)�__doc__Z
fixer_baserZ
fixer_utilr�dictr
rrrrr�<module>s$	

Hacked By AnonymousFox1.0, Coded By AnonymousFox