관리-도구
편집 파일: fix_asserts.cpython-35.opt-2.pyc
���]� � @ s� d d l m Z d d l m Z e d d d d d d d d d d d d d d d d d d d d d d d d d d d d � Z Gd d � d e � Z d S)� )�BaseFix)�NameZassert_Z assertTrueZassertEqualsZassertEqualZassertNotEqualsZassertNotEqualZassertAlmostEqualsZassertAlmostEqualZassertNotAlmostEqualsZassertNotAlmostEqualZassertRegexpMatchesZassertRegexZassertRaisesRegexpZassertRaisesRegexZfailUnlessEqualZfailIfEqualZfailUnlessAlmostEqualZfailIfAlmostEqualZ failUnlessZfailUnlessRaisesZassertRaisesZfailIfZassertFalsec @ s8 e Z d Z d d j e e e � � Z d d � Z d S)� FixAssertszH power< any+ trailer< '.' meth=(%s)> any* > �|c C s8 | d d } | j t t t | � d | j �� d S)N�meth� �prefix)�replacer �NAMES�strr )�selfZnode�results�name� r �0/opt/alt/python35/lib64/python3.5/fix_asserts.py� transform s zFixAsserts.transformN) �__name__� __module__�__qualname__�join�map�reprr ZPATTERNr r r r r r s r N)Z fixer_baser Z fixer_utilr �dictr r r r r r �<module> s"