unittest.TestLoader.loadTestsFromModule()
  • References/Python/Python/Development Tools

loadTestsFromModule(module, pattern=None) Return a suite of all tests cases contained in the given module. This method searches

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

assertEqual(first, second, msg=None) Test that first and second are equal. If the values do not compare equal

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

addSuccess(test) Called when the test case test succeeds. The default implementation

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

class typing.SupportsRound An ABC with one abstract method __round__ that is covariant in its return type.

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

addUnexpectedSuccess(test) Called when the test case test was marked with the expectedFailure() decorator

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

test.support.captured_stdin() test.support.captured_stdout() test.support.captured_stderr()

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

testMethodPrefix String giving the prefix of method names which will be interpreted as test methods. The default value is 'test'

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

DocTestFailure.example The Example that failed.

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

@test.support.run_with_locale(catstr, *locales) A decorator for running a function in a different locale, correctly resetting

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

lineno The line number within the string containing this example where the example begins. This line number is zero-based with

2025-01-10 15:47:30