관리-도구
편집 파일: test_doctests.cpython-311.pyc
� �܋f82 � � � d dl Z d dlZd dlmZ d dlmZmZmZm Z d dl mZ d dl mZ d dlmZ d dlmZmZ G d� d� � Z G d� d e� � Z G d � dee� � Z G d� d ee� � Z G d� dee� � ZdS )� N)�messages)�PYPY�DoctestScope� FunctionScope�ModuleScope)�Test)�TestCase�skipc �( � � e Zd ZdZd� Z� fd�Z� xZS )� _DoctestMixinTc �X � g }t j |� � � � � D ]�}|� � � dk rn�|� d� � s�|� d� � sq|� d� � s\|� d� � sG|� d� � s2|� d� � s|r!|d � d � � rd |z }nd|z }|� |� � ��t j d� � }|d � |� � z S )N� � zexcept:zexcept zfinally:zelse:zelif ���)z>>> @z... @z... %sz>>> %szo def doctest_something(): """ %s """ z )�textwrap�dedent� splitlines�strip� startswith�append�join)�self�input�lines�line�doctestificators �l/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pyflakes/test/test_doctests.py� doctestifyz_DoctestMixin.doctestify sC � ����O�E�*�*�5�5�7�7� � �D��z�z�|�|�r�!�!���/�/�#�&�&� '��/�/�)�,�,� '��/�/�)�,�,� '� �/�/�*�-�-� '� �/�/�'�*�*� '� �/�/�'�*�*� '� � '� #�2�Y�1�1�2D�E�E� '� �$�����$����L�L������"�/� +� � �� ��!1�!1�%�!8�!8�8�8� c �d �� t � � j | � |� � g|�R i |��S )N)�super�flakesr )r r �args�kw� __class__s �r r"