""" 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``. """
"""Raise this exception to mark a test as deprecated. """
""" Installs a DEPRECATED error class for the DeprecatedTest exception. Enabled by default. """ label='DEPRECATED', isfailure=False)
"""Register commandline options. """ dest='noDeprecated', default=env.get(env_opt, False), help="Disable special handling of DeprecatedTest " "exceptions.")
"""Configure plugin. """ return self.enabled = False |