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

assertIsNone(expr, msg=None) assertIsNotNone(expr, msg=None) Test that expr is (or is not) None.

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.errors
  • References/Python/Python/Development Tools

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

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

unittest.removeResult(result) Remove a registered result. Once a result has been removed then stop() will no longer

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

assertIsNot(first, second, msg=None) Test that first and second evaluate (or don’t evaluate) to the same object

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
doctest.UnexpectedException.test
  • References/Python/Python/Development Tools

UnexpectedException.test The DocTest object that was being run when the example failed.

2025-01-10 15:47:30
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.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
unittest.TestCase.assertNotAlmostEqual()
  • References/Python/Python/Development Tools

assertNotAlmostEqual(first, second, places=7, msg=None, delta=None) Test that first and second are approximately

2025-01-10 15:47:30