Ñò
²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( s>
This plugin installs a DEPRECATED error class for the DeprecatedTest
exception. It is enabled by default. When 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.
i˙˙˙˙N( t
ErrorClasst ErrorClassPlugint DeprecatedTestc B s e Z d Z RS( s7 Raise this exception to mark a test as deprecated.
( t __name__t
__module__t __doc__( ( ( s; /usr/lib/python2.6/site-packages/nose/plugins/deprecated.pyR
s t
Deprecatedc B sD e Z d Z e Z e e d d d e Z e i
d Z d Z RS( sP
Plugin that installs a DEPRECATED error class for the DeprecatedTest
exception. Enabled by default. When 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.
t labelt
DEPRECATEDt isfailurec
C s; d } | i d d d d d d | i | t d d d S(
Nt NOSE_WITHOUT_DEPRECATEDs --no-deprecatedt actiont
store_truet destt noDeprecatedt defaultt helps6 Disable special handling of DeprecatedTest exceptions.( t
add_optiont gett False( t selft parsert envt env_opt( ( s; /usr/lib/python2.6/site-packages/nose/plugins/deprecated.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( ( s; /usr/lib/python2.6/site-packages/nose/plugins/deprecated.pyt configure' s
(
R R R t TrueR R R R t
deprecatedt ost environR R ( ( ( s; /usr/lib/python2.6/site-packages/nose/plugins/deprecated.pyR s ( R R! t nose.plugins.errorclassR R t ExceptionR R ( ( ( s; /usr/lib/python2.6/site-packages/nose/plugins/deprecated.pyt