Ñò
²zFc @ sX d Z d d k Z d d k l Z l Z d e f d YZ d e f d YZ d S( sZ
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˙˙˙˙N( t
ErrorClasst ErrorClassPlugint SkipTestc B s e Z d Z RS( s4 Raise this exception to mark a test as skipped.
( t __name__t
__module__t __doc__( ( ( s5 /usr/lib/python2.6/site-packages/nose/plugins/skip.pyR
s t Skipc B sD e Z d Z e Z e e d d d e Z e i
d 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.
t labelt SKIPt isfailurec
C s; d } | i d d d d d d | i | t d d d S(
Nt NOSE_WITHOUT_SKIPs --no-skipt actiont
store_truet destt noSkipt defaultt helps0 Disable special handling of SkipTest exceptions.( t
add_optiont gett False( t selft parsert envt env_opt( ( s5 /usr/lib/python2.6/site-packages/nose/plugins/skip.pyt options s c C sB | i p d S| | _ t | d t } | o
t | _ n d S( NR ( t
can_configuret conft getattrR t enabled( R R R t disable( ( s5 /usr/lib/python2.6/site-packages/nose/plugins/skip.pyt configure' s
(
R R R t TrueR R R R t skippedt ost environR R ( ( ( s5 /usr/lib/python2.6/site-packages/nose/plugins/skip.pyR s ( R R! t nose.plugins.errorclassR R t ExceptionR R ( ( ( s5 /usr/lib/python2.6/site-packages/nose/plugins/skip.pyt