| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/_pytest/__pycache__/ |
Upload File : |
a
05d�4 � @ s� d Z ddlZddlZddlZddlZddlZddlmZ ddlmZ ddlm Z ddlm
Z
ddlmZ ddlmZ dd lm
Z
dd
lmZ ddlmZ ddlmZ dd
lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z e�r.ddl!m"Z" ddl#m$Z$ e%ee%e%f d�dd�Z&edd�dd�Z'edd�dd �Z(G d!d"� d"�Z)G d#d$� d$�Z*G d%d&� d&�Z+d'd(� Z,d)d*� Z-eee. e e d+�d,d-�Z/ee. ej0d.�d/d0�Z1ej0dd1�d2d3�Z2dS )4z4Interactive debugging with PDB, the Python Debugger.� N)�Any)�Callable)� Generator)�List)�Optional)�Tuple)�Type)�
TYPE_CHECKING)�Union)�outcomes)�
ExceptionInfo)�Config)�ConftestImportFailure)�hookimpl)�PytestPluginManager)�Parser)�
UsageError)�Node)�
BaseReport)�CaptureManager)�CallInfo)�value�returnc
C sR z| � d�\}}W n6 tyH } zt�| �d��|�W Y d}~n
d}~0 0 ||fS )z#Validate syntax of --pdbcls option.�:z) is not in the format 'modname:classname'N)�split�
ValueError�argparse�ArgumentTypeError)r �modname� classname�e� r! �5/usr/lib/python3.9/site-packages/_pytest/debugging.py�_validate_usepdb_cls! s ��r# )�parserr c C sF | � d�}|jddddd� |jddd td
d� |jdd
ddd� d S )NZgeneralz--pdb�usepdb�
store_truezDStart the interactive Python debugger on errors or KeyboardInterrupt)�dest�action�helpz--pdbcls�
usepdb_clszmodulename:classnamez{Specify a custom interactive Python debugger for use with --pdb.For example: --pdbcls=IPython.terminal.debugger:TerminalPdb)r'