Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

�,d���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,

ZeroDay Forums Mini