Deprecated: mark tests as deprecated

This plugin installs a DEPRECATED error class for the DeprecatedTest exception. 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. It is enabled by default, but can be turned off by using --no-deprecated.

Options

--no-deprecated

Disable special handling of DeprecatedTest exceptions.

Plugin

class nose.plugins.deprecated.Deprecated

Bases: nose.plugins.errorclass.ErrorClassPlugin

Installs a DEPRECATED error class for the DeprecatedTest exception. Enabled by default.

configure(options, conf)

Configure plugin.

options(parser, env)

Register commandline options.

Source

Table Of Contents

Previous topic

Debug: drop into pdb on errors or failures

Next topic

Doctests: run doctests with nose

This Page