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__/deprecated.cpython-312.pyc

�

���g��D�dZddlmZmZGd�de�ZGd�de�Zy)a�
This plugin installs a DEPRECATED error class for the :class:`DeprecatedTest`
exception. When :class:`DeprecatedTest` is raised, the exception will be logged
in the deprecated attribute of the result, ``D`` or ``DEPRECATED`` (verbose)
will be output, and the exception will not be counted as an error or failure.
It is enabled by default, but can be turned off by using ``--no-deprecated``.
�)�
ErrorClass�ErrorClassPluginc��eZdZdZy)�DeprecatedTestz7Raise this exception to mark a test as deprecated.
    N)�__name__�
__module__�__qualname__�__doc__���F/opt/hc_python/lib/python3.12/site-packages/nose/plugins/deprecated.pyrrs
���rrc�6�eZdZdZdZeedd��Zd�Zd�Z	y)	�
Deprecatedze
    Installs a DEPRECATED error class for the DeprecatedTest exception. Enabled
    by default.
    T�
DEPRECATEDF)�label�	isfailurec	�T�d}|jddd|j|d�d��y)	z&Register commandline options.
        �NOSE_WITHOUT_DEPRECATEDz--no-deprecated�
store_true�noDeprecatedFz6Disable special handling of DeprecatedTest exceptions.)�action�dest�default�helpN)�
add_option�get)�self�parser�env�env_opts    r
�optionszDeprecated.optionss6��,�����+�L�-�s�w�w�w��7N� (�	�	)rc�Z�|jsy||_t|dd�}|rd|_yy)zConfigure plugin.
        NrF)�
can_configure�conf�getattr�enabled)rr!r$�disables    r
�	configurezDeprecated.configure%s4���!�!����	��'�>�5�9��� �D�L�rN)
rrr	r
r&rr�
deprecatedr!r(rrr
rrs*����G��N�".�&+�-�J�)�!rrN)r
�nose.plugins.errorclassrr�	Exceptionrrrrr
�<module>r,s)���A�	�Y�	�!�!�!r

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