doctest.debug()
  • References/Python/Python/Development Tools

doctest.debug(module, name, pm=False) Debug the doctests for an object. The module

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

filename The name of the file that this DocTest was extracted from; or None if the filename is unknown

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

test.support.import_module(name, deprecated=False) This function imports and returns the named module. Unlike a normal import

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

test.support.import_fresh_module(name, fresh=(), blocked=(), deprecated=False) This function imports and returns a fresh copy

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

class doctest.DocTestParser A processing class used to extract interactive examples from a string, and use them to create a

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

assertWarnsRegex(warning, regex, callable, *args, **kwds) assertWarnsRegex(warning, regex, msg=None) Like

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

run(result=None) Run the test, collecting the result into the TestResult object passed as result. If result

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

assertSequenceEqual(first, second, msg=None, seq_type=None) Tests that two sequences are equal. If a seq_type is supplied

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

class unittest.FunctionTestCase(testFunc, setUp=None, tearDown=None, description=None) This class implements the portion of

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

class unittest.mock.NonCallableMagicMock(*args, **kw) A non-callable version of MagicMock. The

2025-01-10 15:47:30