Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /opt/hc_python/lib/python3.12/site-packages/nose/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/hc_python/lib/python3.12/site-packages/nose/plugins/__pycache__/skip.cpython-312.pyc
�

���g^���dZddlmZmZ	ddlmZGd�de�Z	y#e$r!	ddlmZn#e$rGd�de�ZYnwxYwY�1wxYw)	a^
This plugin installs a SKIP error class for the SkipTest exception.
When SkipTest is raised, the exception will be logged in the skipped
attribute of the result, 'S' or 'SKIP' (verbose) will be output, and
the exception will not be counted as an error or failure. This plugin
is enabled by default but may be disabled with the ``--no-skip`` option.
�)�
ErrorClass�ErrorClassPlugin)�SkipTestc��eZdZdZy)rz<Raise this exception to mark a test as skipped.
            N)�__name__�
__module__�__qualname__�__doc__���@/opt/hc_python/lib/python3.12/site-packages/nose/plugins/skip.pyrrs
��
�rrc�6�eZdZdZdZeedd��Zd�Zd�Z	y)	�Skipa"
    Plugin that installs a SKIP error class for the SkipTest
    exception.  When SkipTest is raised, the exception will be logged
    in the skipped attribute of the result, 'S' or 'SKIP' (verbose)
    will be output, and the exception will not be counted as an error
    or failure.
    T�SKIPF)�label�	isfailurec	�T�d}|jddd|j|d�d��y)	z1
        Add my options to command line.
        �NOSE_WITHOUT_SKIPz	--no-skip�
store_true�noSkipFz0Disable special handling of SkipTest exceptions.)�action�dest�default�helpN)�
add_option�get)�self�parser�env�env_opts    r
�optionszSkip.options+s5��&�����+�l�'�����%�1H� (�	�	)rc�Z�|jsy||_t|dd�}|rd|_yy)zF
        Configure plugin. Skip plugin is enabled by default.
        NrF)�
can_configure�conf�getattr�enabled)rr!r$�disables    r
�	configurezSkip.configure5s4���!�!����	��'�8�U�3��� �D�L�rN)
rrr	r
r&rr�skippedr!r(rrr
rrs*����G���%�#(�*�G�)�	!rrN)
r
�nose.plugins.errorclassrr�
unittest.caser�ImportError�unittest2.case�	Exceptionrrrr
�<module>r/sY���A�	�&� !�� !�����+����	�y�	����s*��A�+�A�>�A�>�A�A

ZeroDay Forums Mini