�9�c@stdZddlmZmZyddlmZWn'ek
rYdefd��YZnXdefd��YZdS( s^
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.
i�(t
ErrorClasstErrorClassPlugin(tSkipTestRcBseZdZRS(s8Raise this exception to mark a test as skipped.
(t__name__t
__module__t__doc__(((s5/sys/lib/python2.7/site-packages/nose/plugins/skip.pyRstSkipcBs>eZdZeZeeddde�Zd�Z d�Z
RS(s"
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.
tlabeltSKIPt isfailurec
Cs;d}|jdddddd|j|t�dd �d
S(s1
Add my options to command line.
tNOSE_WITHOUT_SKIPs --no-skiptactiont
store_truetdesttnoSkiptdefaultthelps0Disable special handling of SkipTest exceptions.N(t
add_optiontgettFalse(tselftparsertenvtenv_opt((s5/sys/lib/python2.7/site-packages/nose/plugins/skip.pytoptions$scCs>|js
dS||_t|dt�}|r:t|_ndS(sF
Configure plugin. Skip plugin is enabled by default.
NR(t
can_configuretconftgetattrRtenabled(RRRtdisable((s5/sys/lib/python2.7/site-packages/nose/plugins/skip.pyt configure.s (RRRtTrueRRRRtskippedRR(((s5/sys/lib/python2.7/site-packages/nose/plugins/skip.pyRs
N( Rtnose.plugins.errorclassRRt
unittest.caseRtImportErrort ExceptionR(((s5/sys/lib/python2.7/site-packages/nose/plugins/skip.pyt<module>s
|