https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /opt/alt-old/python27/lib/python2.7/site-packages/nose/plugins/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt-old/python27/lib/python2.7/site-packages/nose/plugins/debug.pyo
�
�~RSc@s<dZddlZddlmZdefd��YZdS(s�
This plugin provides ``--pdb`` and ``--pdb-failures`` options. The ``--pdb``
option will drop the test runner into pdb when it encounters an error. To
drop into pdb on failure, use ``--pdb-failures``.
i����N(tPlugintPdbcBsMeZdZeZeZdZd�Zd�Zd�Z	d�Z
d�ZRS(s�
    Provides --pdb and --pdb-failures options that cause the test runner to
    drop into pdb if it encounters an error or failure, respectively.
    ic
Cs�|jdddddd|jdt�dd	�|jd
ddddd|jdt�dd
�|jdddddd|jdt�dd�dS(s&Register commandline options.
        s--pdbtactiont
store_truetdestt	debugBothtdefaulttNOSE_PDBthelps(Drop into debugger on failures or errorss--pdb-failurest
debugFailurestNOSE_PDB_FAILURESsDrop into debugger on failuress--pdb-errorstdebugErrorstNOSE_PDB_ERRORSsDrop into debugger on errorsN(t
add_optiontgettFalse(tselftparsertenv((sC/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/debug.pytoptionsscCsL||_|jp|j|_|jp-|j|_|jpB|j|_dS(s<Configure which kinds of exceptions trigger plugin.
        N(tconfRRtenabled_for_errorsR	tenabled_for_failurestenabled(RRR((sC/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/debug.pyt	configure%s	cCs|js
dS|j|�dS(s1Enter pdb if configured to debug errors.
        N(Rtdebug(Rttestterr((sC/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/debug.pytaddError-s	cCs|js
dS|j|�dS(s3Enter pdb if configured to debug failures.
        N(RR(RRR((sC/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/debug.pyt
addFailure4s	cCsRddl}|\}}}|j}|j|_ztj|�Wd||_XdS(Ni����(tsyststdoutt
__stdout__tpdbtpost_mortem(RRRtectevttbR((sC/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/debug.pyR;s	(t__name__t
__module__t__doc__RRRtscoreRRRRR(((sC/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/debug.pyR
s				(R(R!tnose.plugins.baseRR(((sC/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/debug.pyt<module>s

https://t.me/AnonymousX5 - 2025