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

records A list of

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

lineno The line number within filename where this DocTest begins, or None if the line

2025-01-10 15:47:30