AlkantarClanX12

Your IP : 18.220.242.160


Current Path : /opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/fix_asserts.cpython-312.pyc

�

�Q�f���b�dZddlmZddlmZedddddd	d
ddddddd�
�ZGd�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�eZdZddjeee��zZd�Zy)�
FixAssertszH
              power< any+ trailer< '.' meth=(%s)> any* >
              �|c��|dd}|jttt|�|j���y)N�meth�)�prefix)�replacer�NAMES�strr")�self�node�results�names    �@/opt/alt/python312/lib64/python3.12/lib2to3/fixes/fix_asserts.py�	transformzFixAsserts.transform s0���v��q�!�����T�%��D�	�*�4�;�;�?�@�N)	�__name__�
__module__�__qualname__�join�map�reprr$�PATTERNr+�r,r*rrs'����H�H�S��u�-�.�/�G�Ar,rN)�__doc__�
fixer_baser�
fixer_utilr�dictr$rr4r,r*�<module>r9sR��;�!�����$�*�0�%�*�!� �-�,��#��	��$A��Ar,