U if@sPddlmZddlmZeddddddd dddddd d d ZGd ddeZdS))BaseFix)NameZ assertTrueZ assertEqualZassertNotEqualZassertAlmostEqualZassertNotAlmostEqualZ assertRegexZassertRaisesRegexZ assertRaisesZ assertFalse)Zassert_Z assertEqualsZassertNotEqualsZassertAlmostEqualsZassertNotAlmostEqualsZassertRegexpMatchesZassertRaisesRegexpZfailUnlessEqualZ failIfEqualZfailUnlessAlmostEqualZfailIfAlmostEqualZ failUnlessZfailUnlessRaisesZfailIfc@s(eZdZddeeeZddZdS) FixAssertszH power< any+ trailer< '.' meth=(%s)> any* > |cCs,|dd}|ttt||jddS)NZmeth)prefix)replacerNAMESstrr)selfZnodeZresultsnamer >/opt/alt/python38/lib64/python3.8/lib2to3/fixes/fix_asserts.py transform s zFixAsserts.transformN) __name__ __module__ __qualname__joinmapreprr ZPATTERNrr r r rrsrN)Z fixer_baserZ fixer_utilrdictr rr r r rs$