IPython Documentation

Table Of Contents

Previous topic

testing.plugin.simple

Next topic

testing.plugin.test_ipdoctest

This Page

testing.plugin.skipcrash

Module: testing.plugin.skipcrash

Inheritance diagram for IPython.testing.plugin.skipcrash:

NoCrash

class IPython.testing.plugin.skipcrash.NoCrash

Bases: nose.plugins.attrib.AttributeSelector

__init__()
addOptions(parser, env=None)

Add command-line options for this plugin.

The base plugin class adds –with-$name by default, used to enable the plugin.

Warning

Don’t implement addOptions unless you want to override all default option handling behavior, including warnings for conflicting options. Implement options instead.

add_options(parser, env=None)

Non-camel-case version of func name for backwards compatibility.

Warning

DEPRECATED: Do not use this method, use options instead.

can_configure = False
configure(options, config)
enableOpt = None
enabled = True
help()

Return help for this plugin. This will be output as the help section of the –with-$name option that enables the plugin.

name = 'NoCrash'
options(parser, env)
score = 100
tolist(val)
validateAttrib(method, cls=None)
wantFunction(function)

Accept the function if its attributes match.

wantMethod(method)

Accept the method if its attributes match.