unittest.defaultTestLoader
  • References/Python/Python/Development Tools

unittest.defaultTestLoader Instance of the TestLoader class intended to be shared. If no customization of the

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

doctest.DocTestSuite(module=None, globs=None, extraglobs=None, test_finder=None, setUp=None, tearDown=None, checker=None) Convert

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

class doctest.DocTest(examples, globs, name, filename, lineno, docstring) A collection of doctest examples that should be run

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

setUp() Method called to prepare the test fixture. This is called immediately before calling the test method; other than

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

report_success(out, test, example, got) Report that the given example ran successfully. This method is provided to allow subclasses

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

class typing.re Wrapper namespace for regular expression matching types. This defines the type

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

assertIsInstance(obj, cls, msg=None) assertNotIsInstance(obj, cls, msg=None) Test that obj is (or is not)

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

test.support.is_resource_enabled(resource) Return True if resource is enabled and available. The list

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

class test.support.SuppressCrashReport A context manager used to try to prevent crash dialog popups on tests that are expected

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

assert_has_calls(calls, any_order=False) assert the mock has been called with the specified calls. The mock_calls

2025-01-10 15:47:30