Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/IPython/testing/plugin/__pycache__/ipdoctest.cpython-39.pyc
Ðазад
a o�hi. � @ s� d Z ddlZddlZddlZddlmZ e�e�ZG dd� dej �Z G dd� dej �ZG dd � d ej�Z G d d� dej�Ze�d�ZG d d� deje�ZdS )a� Nose Plugin that supports IPython doctests. Limitations: - When generating examples for use as doctests, make sure that you have pretty-printing OFF. This can be done either by setting the ``PlainTextFormatter.pprint`` option in your configuration file to False, or by interactively disabling it with %Pprint. This is required so that IPython output matches that of normal Python, which is used by doctest for internal execution. - Do not rely on specific prompt numbers for results (such as using '_34==True', for example). For IPython tests run via an external process the prompt numbers may be different, and IPython tests run as normal python code won't even have these special _NN variables set at all. � N)�modified_envc s e Zd Z� fdd�Z� ZS )� DocTestFinderc sH t � �|||||�}tt|dd��rD|d urD|jD ]}d|jtj<