unexpectedSuccesses A list containing TestCase instances that were marked as expected failures, but succeeded.
name A string name identifying the DocTest. Typically, this is the name of the object or file that the test was
method_calls As well as tracking calls to themselves, mocks also track calls to methods and attributes, and their methods
class typing.ByteString(Sequence[int]) A generic version of
subTest(msg=None, **params) Return a context manager which executes the enclosed code block as a subtest. msg and params
doctest.testfile(filename, module_relative=True, name=None, package=None, globs=None, verbose=None, report=True, optionflags=0, extraglobs=None, raise_on_error=False
countTestCases() Return the number of tests represented by this test object, including all individual tests and sub-suites.
startTestRun() Called once before any tests are executed.
EnvironmentVarGuard.unset(envvar) Temporarily unset the environment variable envvar.
source A string containing the example’s source code. This source code consists of a single Python statement, and always ends
Page 24 of 28