fipy.tests.test

Classes

DeprecationErroringTestProgram([module, ...])

TestProgram that overrides inability of standard TestProgram to throw errors on DeprecationWarning

test(dist, **kw)

Construct the command for dist, updating vars(self) with any keyword parameters.

class fipy.tests.test.DeprecationErroringTestProgram(module='__main__', defaultTest=None, argv=None, testRunner=None, testLoader=<unittest.loader.TestLoader object>, exit=True, verbosity=1, failfast=None, catchbreak=None, buffer=None, warnings=None, *, tb_locals=False)

Bases: TestProgram

TestProgram that overrides inability of standard TestProgram to throw errors on DeprecationWarning

class fipy.tests.test.test(dist, **kw)

Bases: test

Construct the command for dist, updating vars(self) with any keyword parameters.

finalize_options()

Set final values for all the options that this command supports. This is always called as late as possible, ie. after any option assignments from the command-line or from other commands have been done. Thus, this is the place to code option dependencies: if ‘foo’ depends on ‘bar’, then it is safe to set ‘foo’ from ‘bar’ as long as ‘foo’ still has the same value it was assigned in ‘initialize_options()’.

This method must be implemented by all command classes.

initialize_options()

Set default values for all the options that this command supports. Note that these defaults may be overridden by other commands, by the setup script, by config files, or by the command-line. Thus, this is not the place to code dependencies between options; generally, ‘initialize_options()’ implementations are just a bunch of “self.foo = None” assignments.

This method must be implemented by all command classes.

Last updated on Jun 26, 2024. Created using Sphinx 7.1.2.