test.support.EnvironmentVarGuard
  • References/Python/Python/Development Tools

class test.support.EnvironmentVarGuard Class used to temporarily set or unset environment variables. Instances can be used as

2025-01-10 15:47:30
typing.TypeVar
  • References/Python/Python/Development Tools

class typing.TypeVar Type variable. Usage:

2025-01-10 15:47:30
unittest.TestLoader.testMethodPrefix
  • References/Python/Python/Development Tools

testMethodPrefix String giving the prefix of method names which will be interpreted as test methods. The default value is 'test'

2025-01-10 15:47:30
unittest.TestResult.testsRun
  • References/Python/Python/Development Tools

testsRun The total number of tests run so far.

2025-01-10 15:47:30
doctest.testsource()
  • References/Python/Python/Development Tools

doctest.testsource(module, name) Convert the doctest for an object to a script. Argument module

2025-01-10 15:47:30
typing.Optional
  • References/Python/Python/Development Tools

class typing.Optional Optional type. Optional[X] is equivalent to Union[X

2025-01-10 15:47:30
typing.MutableSequence
  • References/Python/Python/Development Tools

class typing.MutableSequence(Sequence[T]) A generic version of

2025-01-10 15:47:30
unittest.skipIf()
  • References/Python/Python/Development Tools

@unittest.skipIf(condition, reason) Skip the decorated test if condition is true.

2025-01-10 15:47:30
doctest.DocTestFailure.got
  • References/Python/Python/Development Tools

DocTestFailure.got The example’s actual output.

2025-01-10 15:47:30
typing.io
  • References/Python/Python/Development Tools

class typing.io Wrapper namespace for I/O stream types. This defines the generic type IO[AnyStr]

2025-01-10 15:47:30