Your IP : 3.148.104.103


Current Path : /opt/alt/python34/lib64/python3.4/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python34/lib64/python3.4/lib2to3/fixes/__pycache__/fix_asserts.cpython-34.pyc

�
i f��@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/python34/lib64/python3.4/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$	

?>