AlkantarClanX12
Current Path : /opt/alt/python310/lib64/python3.10/lib2to3/fixes/__pycache__/ |
Current File : //opt/alt/python310/lib64/python3.10/lib2to3/fixes/__pycache__/fix_asserts.cpython-310.opt-2.pyc |
o 6��f� � @ sR d dl mZ d dlmZ eddddddd dddddd dd�ZG d d� de�ZdS )� )�BaseFix)�NameZ assertTrueZassertEqualZassertNotEqualZassertAlmostEqualZassertNotAlmostEqualZassertRegexZassertRaisesRegexZassertRaisesZassertFalse)Zassert_ZassertEqualsZassertNotEqualsZassertAlmostEqualsZassertNotAlmostEqualsZassertRegexpMatchesZassertRaisesRegexpZfailUnlessEqualZfailIfEqualZfailUnlessAlmostEqualZfailIfAlmostEqualZ failUnlessZfailUnlessRaisesZfailIfc @ s( e Zd Zdd�eee�� Zdd� ZdS )� FixAssertszH power< any+ trailer< '.' meth=(%s)> any* > �|c C s, |d d }|� ttt|� |jd�� d S )NZmeth� )�prefix)�replacer �NAMES�strr )�selfZnodeZresults�name� r �@/opt/alt/python310/lib64/python3.10/lib2to3/fixes/fix_asserts.py� transform s zFixAsserts.transformN) �__name__� __module__�__qualname__�join�map�reprr ZPATTERNr r r r r r s �r N)Z fixer_baser Z fixer_utilr �dictr r r r r r �<module> s( �