| Server IP : 217.160.0.135 / Your IP : 216.73.216.114 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/IPython/testing/plugin/__pycache__/ |
Upload File : |
�
�@�cs. � �6 � d Z ddlZddlZddlZddlZddlmZ ej e� � Z G d� dej
� � Z
G d� dej � � Z G d� d ej
� � Z G d
� dej � � Z ej d� � Z G d
� dej e� � 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 � � � e Zd Z� fd�Z� xZS )�
DocTestFinderc �� �� t � � � |||||� � }t t |dd� � � � r |�|j D ]}d|j t j <