HEX
Server: LiteSpeed
System: Linux ws4.angoweb.net 5.14.0-611.13.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 11 04:57:59 EST 2025 x86_64
User: tswangoe (2287)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open
Upload Files
File: //opt/alt/python37/lib/python3.7/site-packages/nose/plugins/__pycache__/skip.cpython-37.pyc
B

;�2�|��@s�dZddlmZmZyddlmZWnJek
rnyddlmZWn$ek
rhGdd�de�ZYnXYnXGdd�de�Z	dS)	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@seZdZdZdS)rz<Raise this exception to mark a test as skipped.
            N)�__name__�
__module__�__qualname__�__doc__�r	r	�B/opt/alt/python37/lib/python3.7/site-packages/nose/plugins/skip.pyrsrc@s2eZdZdZdZeeddd�Zdd�Zdd	�Z	d
S)�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.
    TZSKIPF)�labelZ	isfailurecCs$d}|jddd|�|d�dd�dS)	z1
        Add my options to command line.
        ZNOSE_WITHOUT_SKIPz	--no-skip�
store_true�noSkipFz0Disable special handling of SkipTest exceptions.)�action�dest�default�helpN)�
add_option�get)�self�parser�envZenv_optr	r	r
�options+szSkip.optionscCs*|js
dS||_t|dd�}|r&d|_dS)zF
        Configure plugin. Skip plugin is enabled by default.
        NrF)Z
can_configure�conf�getattr�enabled)rrr�disabler	r	r
�	configure5szSkip.configureN)
rrrrrrr�skippedrrr	r	r	r
rs
rN)
rZnose.plugins.errorclassrrZ
unittest.caser�ImportErrorZunittest2.case�	Exceptionrr	r	r	r
�<module>s