AlkantarClanX12

Your IP : 3.21.246.53


Current Path : /opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/fix_asserts.cpython-311.pyc

�

c��f���p�dZddlmZddlmZedddddd	d
ddddddd�
��ZGd�de��ZdS)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�X�eZdZdd�eee����zZd�ZdS)�
FixAssertszH
              power< any+ trailer< '.' meth=(%s)> any* >
              �|c��|dd}|�ttt|��|j�����dS)N�meth�)�prefix)�replacer�NAMES�strr")�self�node�results�names    �@/opt/alt/python311/lib64/python3.11/lib2to3/fixes/fix_asserts.py�	transformzFixAsserts.transform sB���v��q�!�����T�%��D�	�	�*�4�;�?�?�?�@�@�@�@�@�N)	�__name__�
__module__�__qualname__�join�map�reprr$�PATTERNr+�r,r*rrsO��������H�H�S�S��u�-�-�.�.�/�G�A�A�A�A�Ar,rN)�__doc__�
fixer_baser�
fixer_utilr�dictr$rr4r,r*�<module>r9s���;�;�!� � � � � �����������$�*�0�%�*�!� �-�,��#��	�	�	��$A�A�A�A�A��A�A�A�A�Ar,