Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
python35
/
lib
/
python3.5
/
site-packages
/
nose
/
plugins
/
__pycache__
/
File Content:
deprecated.cpython-35.pyc
�~RS � @ sL d Z d d l m Z m Z Gd d � d e � Z Gd d � d e � Z d S)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 @ s e Z d Z d Z d S)�DeprecatedTestz7Raise this exception to mark a test as deprecated. N)�__name__� __module__�__qualname__�__doc__� r r �/deprecated.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)� Deprecatedze Installs a DEPRECATED error class for the DeprecatedTest exception. Enabled by default. TZlabelZ DEPRECATEDZ isfailureFc C s; d } | j d d d d d d | j | d � d d �d S)z&Register commandline options. ZNOSE_WITHOUT_DEPRECATEDz--no-deprecated�action� store_true�dest�noDeprecated�defaultF�helpz6Disable special handling of DeprecatedTest exceptions.N)Z add_option�get)�self�parser�envZenv_optr r r �options s zDeprecated.optionsc C s; | j s d S| | _ t | d d � } | r7 d | _ d S)zConfigure plugin. Nr F)Z can_configure�conf�getattr�enabled)r r r �disabler r r � configure% s zDeprecated.configureN) r r r r r r r Z deprecatedr r r r r r r s r N)r Znose.plugins.errorclassr r � Exceptionr r 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