PK APOCALYPSE V1

APOCALYPSE V1

Current Path : /opt/hc_python/lib/python3.12/site-packages/nose/plugins/__pycache__/
Upload File :
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

if you don't want to be vaporized in a nuclear explosion, i simply have to become nuclear myself… i am atomic