unittest.TestResult.failures
  • References/Python/Python/Development Tools

failures A list containing 2-tuples of TestCase instances and strings holding formatted tracebacks. Each tuple

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

assertNotIn(first, second, msg=None) Test that first is (or is not) in second.

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

startTest(test) Called when the test case test is about to be run.

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

assertWarns(warning, callable, *args, **kwds) assertWarns(warning, msg=None) Test that a warning is triggered when

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

want The expected output from running the example’s source code (either from stdout, or a traceback in case of exception). want

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

assertIn(first, second, msg=None) assertNotIn(first, second, msg=None) Test that first is (or is not) in

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

assertAlmostEqual(first, second, places=7, msg=None, delta=None) assertNotAlmostEqual(first, second, places=7, msg=None, delta=None)

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

setUpClass() A class method called before tests in an individual class run. setUpClass is called with the class

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

suiteClass Callable object that constructs a test suite from a list of tests. No methods on the resulting object are needed

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

test.support.check_warnings(*filters, quiet=True) A convenience wrapper for

2025-01-10 15:47:30