AlkantarClanX12
Current Path : /opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/ |
Current File : //opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/fix_asserts.cpython-312.opt-1.pyc |
� �Q�f� � �b � d Z ddlmZ ddlmZ edddddd d ddddddd� � Z G d� de� Zy)z5Fixer that replaces deprecated unittest method names.� )�BaseFix)�Name� assertTrue�assertEqual�assertNotEqual�assertAlmostEqual�assertNotAlmostEqual�assertRegex�assertRaisesRegex�assertRaises�assertFalse)�assert_�assertEquals�assertNotEquals�assertAlmostEquals�assertNotAlmostEquals�assertRegexpMatches�assertRaisesRegexp�failUnlessEqual�failIfEqual�failUnlessAlmostEqual�failIfAlmostEqual� failUnless�failUnlessRaises�failIfc �H � e Zd Zddj eee� � z Zd� Zy)� FixAssertszH power< any+ trailer< '.' meth=(%s)> any* > �|c � � |d d }|j t t t |� |j �� � y )N�meth� )�prefix)�replacer �NAMES�strr"