Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`scripts`.`trial`.`_BasicOptions``

class documentation

`class _BasicOptions: (source)`

Known subclasses: `twisted.scripts.trial.Options`, `twisted.trial._dist.options.WorkerOptions`

View In Hierarchy

Basic options shared between trial and its local workers.

Method | `__init__` | Undocumented
Method | `coverdir` | Return a `FilePath` representing the directory into which coverage results should be written.
Method | `getSynopsis` | Undocumented
Method | `opt_coverage` | Generate coverage information in the coverage file in the directory specified by the temp-directory option.
Method | `opt_disablegc` | Disable the garbage collector
Method | `opt_help_orders` | Undocumented
Method | `opt_help_reporters` | Undocumented
Method | `opt_random` | Undocumented
Method | `opt_recursionlimit` | see sys.setrecursionlimit()
Method | `opt_spew` | Print an insanely verbose log of everything that happens. Useful when debugging freezes or locks in complex code.
Method | `opt_tbformat` | Specify the format to display tracebacks with. Valid formats are 'plain', 'emacs', and 'cgitb' which uses the nicely verbose stdlib cgitb.text function
Method | `opt_testmodule` | Filename to grep for test cases (-*- test-case-name).
Method | `opt_without_module` | Fake the lack of the specified modules, separated with commas.
Method | `parseArgs` | Undocumented
Method | `postOptions` | Undocumented
Class Variable | `compData` | Undocumented
Class Variable | `longdesc` | Undocumented
Class Variable | `optFlags` | Undocumented
Class Variable | `optParameters` | Undocumented
Instance Variable | `tracer` | Undocumented
Method | `_loadReporterByName` | Undocumented

def __init__(self): (source)

Undocumented

def coverdir(self): (source)
overridden in `twisted.trial._dist.options.WorkerOptions`

Return a `FilePath` representing the directory into which coverage results should be written.

def getSynopsis(self): (source)

Undocumented

def opt_coverage(self): (source)

Generate coverage information in the coverage file in the directory specified by the temp-directory option.

def opt_disablegc(self): (source)

Disable the garbage collector

def opt_help_orders(self): (source)

Undocumented

def opt_help_reporters(self): (source)

Undocumented

def opt_random(self, option): (source)

Undocumented

def opt_recursionlimit(self, arg): (source)

see sys.setrecursionlimit()

def opt_spew(self): (source)

Print an insanely verbose log of everything that happens. Useful when debugging freezes or locks in complex code.

def opt_tbformat(self, opt): (source)

Specify the format to display tracebacks with. Valid formats are 'plain', 'emacs', and 'cgitb' which uses the nicely verbose stdlib cgitb.text function

def opt_testmodule(self, filename): (source)

Filename to grep for test cases (-*- test-case-name).

def opt_without_module(self, option): (source)

Fake the lack of the specified modules, separated with commas.

def parseArgs(self, *args): (source)

Undocumented

def postOptions(self): (source)
overridden in `twisted.scripts.trial.Options`

Undocumented

compData = (source)
overridden in `twisted.scripts.trial.Options`

Undocumented

longdesc: `str` = (source)

Undocumented

optFlags: `list` = (source)
overridden in `twisted.scripts.trial.Options`

Undocumented

optParameters = (source)
overridden in `twisted.scripts.trial.Options`

Undocumented

tracer: `Optional[trace.Trace]` = (source)

Undocumented

def _loadReporterByName(self, name): (source)

Undocumented