typing.NamedTuple()
  • References/Python/Python/Development Tools

typing.NamedTuple(typename, fields) Typed version of namedtuple. Usage:

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

UnexpectedException.example The Example that failed.

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

indent The example’s indentation in the containing string, i.e., the number of space characters that precede the example’s first

2025-01-10 15:47:30
test.support.is_jython
  • References/Python/Python/Development Tools

test.support.is_jython True if the running interpreter is Jython.

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

assertGreaterEqual(first, second, msg=None) assertLess(first, second, msg=None) assertLessEqual(first, second

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

failureException This class attribute gives the exception raised by the test method. If a test framework needs to use a specialized

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

assertCountEqual(first, second, msg=None) Test that sequence first contains the same elements as second, regardless

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

unittest.mock.call(*args, **kwargs) call() is a helper object for making simpler assertions, for comparing with

2025-01-10 15:47:30
test.support.can_symlink()
  • References/Python/Python/Development Tools

test.support.can_symlink() Return True if the OS supports symbolic links, False otherwise.

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

addTypeEqualityFunc(typeobj, function) Registers a type-specific method called by assertEqual() to check if two

2025-01-10 15:47:30