HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //opt/alt/python37/lib/python3.7/site-packages/nose/plugins/__pycache__/deprecated.cpython-37.pyc
B

�~RS�@s8dZddlmZmZGdd�de�ZGdd�de�ZdS)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@seZdZdZdS)�DeprecatedTestz7Raise this exception to mark a test as deprecated.
    N)�__name__�
__module__�__qualname__�__doc__�r	r	�H/opt/alt/python37/lib/python3.7/site-packages/nose/plugins/deprecated.pyrsrc@s2eZdZdZdZeeddd�Zdd�Zdd	�Z	d
S)�
Deprecatedze
    Installs a DEPRECATED error class for the DeprecatedTest exception. Enabled
    by default.
    TZ
DEPRECATEDF)�labelZ	isfailurecCs$d}|jddd|�|d�dd�dS)	z&Register commandline options.
        ZNOSE_WITHOUT_DEPRECATEDz--no-deprecated�
store_true�noDeprecatedFz6Disable special handling of DeprecatedTest exceptions.)�action�dest�default�helpN)�
add_option�get)�self�parser�envZenv_optr	r	r
�optionsszDeprecated.optionscCs*|js
dS||_t|dd�}|r&d|_dS)zConfigure plugin.
        NrF)Z
can_configure�conf�getattr�enabled)rrr�disabler	r	r
�	configure%szDeprecated.configureN)
rrrrrrrZ
deprecatedrrr	r	r	r
rs	rN)rZnose.plugins.errorclassrr�	Exceptionrrr	r	r	r
�<module>s