unittest.TestCase.shortDescription()
  • References/Python/Python/Development Tools

shortDescription() Returns a description of the test, or None if no description has been provided. The default

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

class typing.Any Special type indicating an unconstrained type. Any object

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

loadTestsFromNames(names, module=None) Similar to loadTestsFromName(), but takes a sequence of names rather than

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

assertLogs(logger=None, level=None) A context manager to test that at least one message is logged on the logger or

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

class doctest.DocTestRunner(checker=None, verbose=None, optionflags=0) A processing class used to execute and verify the interactive

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

unittest.registerResult(result) Register a TestResult object for control-c handling. Registering a result stores

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

test.support.temp_cwd(name='tempcwd', quiet=False) A context manager that temporarily creates a new directory and changes the

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

tearDown() Method called immediately after the test method has been called and the result recorded. This is called even if the

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

class doctest.DocTestFinder(verbose=False, parser=DocTestParser(), recurse=True, exclude_empty=True) A processing class used

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

unittest.removeHandler(function=None) When called without arguments this function removes the control-c handler if it has been

2025-01-10 15:47:30