Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
nose
/
plugins
/
__pycache__
/
File Content:
skip.cpython-37.pyc
B d�U^ � @ s� d Z ddlmZmZ yddlmZ W nJ ek rn yddlmZ W n$ ek rh G dd� de�ZY nX Y nX G dd� 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 @ s e Zd ZdZdS )r z<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.pyr s r c @ s2 e Zd ZdZdZeeddd�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 isfailurec C s$ d}|j ddd|�|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 zSkip.optionsc C s* | j s dS || _t|dd�}|r&d| _dS )zF Configure plugin. Skip plugin is enabled by default. Nr F)Z can_configure�conf�getattr�enabled)r r r Zdisabler r r � configure5 s zSkip.configureN) r r r r r r r Zskippedr r r r r r r s r N) r Znose.plugins.errorclassr r Z unittest.caser �ImportErrorZunittest2.case� Exceptionr r r r r �<module> s
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
__init__.cpython-37.opt-1.pyc
6484 bytes
0644
__init__.cpython-37.pyc
6484 bytes
0644
allmodules.cpython-37.opt-1.pyc
2052 bytes
0644
allmodules.cpython-37.pyc
2052 bytes
0644
attrib.cpython-37.opt-1.pyc
8050 bytes
0644
attrib.cpython-37.pyc
8050 bytes
0644
base.cpython-37.opt-1.pyc
29020 bytes
0644
base.cpython-37.pyc
29020 bytes
0644
builtin.cpython-37.opt-1.pyc
1014 bytes
0644
builtin.cpython-37.pyc
1014 bytes
0644
capture.cpython-37.opt-1.pyc
3988 bytes
0644
capture.cpython-37.pyc
3988 bytes
0644
collect.cpython-37.opt-1.pyc
3653 bytes
0644
collect.cpython-37.pyc
3653 bytes
0644
cover.cpython-37.opt-1.pyc
8305 bytes
0644
cover.cpython-37.pyc
8305 bytes
0644
debug.cpython-37.opt-1.pyc
2305 bytes
0644
debug.cpython-37.pyc
2305 bytes
0644
deprecated.cpython-37.opt-1.pyc
1869 bytes
0644
deprecated.cpython-37.pyc
1869 bytes
0644
doctests.cpython-37.opt-1.pyc
14835 bytes
0644
doctests.cpython-37.pyc
14835 bytes
0644
errorclass.cpython-37.opt-1.pyc
7863 bytes
0644
errorclass.cpython-37.pyc
7863 bytes
0644
failuredetail.cpython-37.opt-1.pyc
1941 bytes
0644
failuredetail.cpython-37.pyc
1941 bytes
0644
isolate.cpython-37.opt-1.pyc
4440 bytes
0644
isolate.cpython-37.pyc
4440 bytes
0644
logcapture.cpython-37.opt-1.pyc
9101 bytes
0644
logcapture.cpython-37.pyc
9101 bytes
0644
manager.cpython-37.opt-1.pyc
16698 bytes
0644
manager.cpython-37.pyc
16698 bytes
0644
multiprocess.cpython-37.opt-1.pyc
23407 bytes
0644
multiprocess.cpython-37.pyc
23407 bytes
0644
plugintest.cpython-37.opt-1.pyc
13797 bytes
0644
plugintest.cpython-37.pyc
13797 bytes
0644
prof.cpython-37.opt-1.pyc
4414 bytes
0644
prof.cpython-37.pyc
4414 bytes
0644
skip.cpython-37.opt-1.pyc
2155 bytes
0644
skip.cpython-37.pyc
2155 bytes
0644
testid.cpython-37.opt-1.pyc
7927 bytes
0644
testid.cpython-37.pyc
7927 bytes
0644
xunit.cpython-37.opt-1.pyc
11079 bytes
0644
xunit.cpython-37.pyc
11079 bytes
0644
N4ST4R_ID | Naxtarrr