D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
lib64
/
python2.7
/
lib2to3
/
fixes
/
Filename :
fix_asserts.pyc
back
Copy
� {fc @ s� d Z 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 d e f d � � YZ d S( s5 Fixer that replaces deprecated unittest method names.i ( t BaseFix( t Namet assert_t assertTruet assertEqualst assertEqualt assertNotEqualst assertNotEqualt assertAlmostEqualst assertAlmostEqualt assertNotAlmostEqualst assertNotAlmostEqualt assertRegexpMatchest assertRegext assertRaisesRegexpt assertRaisesRegext failUnlessEqualt failIfEqualt failUnlessAlmostEqualt failIfAlmostEqualt failUnlesst failUnlessRaisest assertRaisest failIft assertFalset FixAssertsc B s- e Z d d j e e e � � Z d � Z RS( sH power< any+ trailer< '.' meth=(%s)> any* > t |c C s8 | d d } | j t t t | � d | j �� d S( Nt methi t prefix( t replaceR t NAMESt strR ( t selft nodet resultst name( ( s1 /usr/lib64/python2.7/lib2to3/fixes/fix_asserts.pyt transform s ( t __name__t __module__t joint mapt reprR t PATTERNR$ ( ( ( s1 /usr/lib64/python2.7/lib2to3/fixes/fix_asserts.pyR s N( t __doc__t fixer_baseR t fixer_utilR t dictR R ( ( ( s1 /usr/lib64/python2.7/lib2to3/fixes/fix_asserts.pyt <module> s$