Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
python35
/
lib
/
python3.5
/
site-packages
/
nose
/
plugins
/
__pycache__
/
File Content:
skip.cpython-35.pyc
d�U^ � @ s� d Z d d l m Z m Z y d d l m Z WnQ e k r� y d d l m Z Wn( e k r~ Gd d � d e � Z Yn XYn XGd d � d e � Z d S) 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 Z d Z d Z d S)r z<Raise this exception to mark a test as skipped. N)�__name__� __module__�__qualname__�__doc__� r r �/skip.pyr s r c @ sL e Z d Z d Z d Z e e d d d d �Z d d � Z d d � 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. TZlabelZSKIPZ isfailureFc C s; d } | j d d d d d d | j | d � d d �d S)z1 Add my options to command line. ZNOSE_WITHOUT_SKIPz --no-skip�action� store_true�dest�noSkip�defaultF�helpz0Disable special handling of SkipTest exceptions.N)Z add_option�get)�self�parser�envZenv_optr r r �options+ s zSkip.optionsc C s; | j s d S| | _ t | d d � } | r7 d | _ d S)zF Configure plugin. Skip plugin is enabled by default. Nr F)Z can_configure�conf�getattr�enabled)r r r �disabler 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-35.opt-1.pyc
6444 bytes
0644
__init__.cpython-35.pyc
6444 bytes
0644
allmodules.cpython-35.opt-1.pyc
2057 bytes
0644
allmodules.cpython-35.pyc
2057 bytes
0644
attrib.cpython-35.opt-1.pyc
8414 bytes
0644
attrib.cpython-35.pyc
8414 bytes
0644
base.cpython-35.opt-1.pyc
29514 bytes
0644
base.cpython-35.pyc
29514 bytes
0644
builtin.cpython-35.opt-1.pyc
1252 bytes
0644
builtin.cpython-35.pyc
1252 bytes
0644
capture.cpython-35.opt-1.pyc
4165 bytes
0644
capture.cpython-35.pyc
4165 bytes
0644
collect.cpython-35.opt-1.pyc
3779 bytes
0644
collect.cpython-35.pyc
3779 bytes
0644
cover.cpython-35.opt-1.pyc
8935 bytes
0644
cover.cpython-35.pyc
8935 bytes
0644
debug.cpython-35.opt-1.pyc
2410 bytes
0644
debug.cpython-35.pyc
2410 bytes
0644
deprecated.cpython-35.opt-1.pyc
1895 bytes
0644
deprecated.cpython-35.pyc
1895 bytes
0644
doctests.cpython-35.opt-1.pyc
15844 bytes
0644
doctests.cpython-35.pyc
15844 bytes
0644
errorclass.cpython-35.opt-1.pyc
8110 bytes
0644
errorclass.cpython-35.pyc
8110 bytes
0644
failuredetail.cpython-35.opt-1.pyc
1982 bytes
0644
failuredetail.cpython-35.pyc
1982 bytes
0644
isolate.cpython-35.opt-1.pyc
4532 bytes
0644
isolate.cpython-35.pyc
4532 bytes
0644
logcapture.cpython-35.opt-1.pyc
9647 bytes
0644
logcapture.cpython-35.pyc
9647 bytes
0644
manager.cpython-35.opt-1.pyc
17609 bytes
0644
manager.cpython-35.pyc
17609 bytes
0644
multiprocess.cpython-35.opt-1.pyc
25227 bytes
0644
multiprocess.cpython-35.pyc
25227 bytes
0644
plugintest.cpython-35.opt-1.pyc
14291 bytes
0644
plugintest.cpython-35.pyc
14291 bytes
0644
prof.cpython-35.opt-1.pyc
4671 bytes
0644
prof.cpython-35.pyc
4671 bytes
0644
skip.cpython-35.opt-1.pyc
2187 bytes
0644
skip.cpython-35.pyc
2187 bytes
0644
testid.cpython-35.opt-1.pyc
8413 bytes
0644
testid.cpython-35.pyc
8413 bytes
0644
xunit.cpython-35.opt-1.pyc
11767 bytes
0644
xunit.cpython-35.pyc
11767 bytes
0644
N4ST4R_ID | Naxtarrr