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

assertListEqual(first, second, msg=None) assertTupleEqual(first, second, msg=None) Tests that two lists or tuples

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

class typing.ByteString(Sequence[int]) A generic version of

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

class unittest.mock.PropertyMock(*args, **kwargs) A mock intended to be used as a property, or other descriptor, on a class

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

assertLessEqual(first, second, msg=None) Test that first is respectively >, >=, < or <= than second

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

loadTestsFromTestCase(testCaseClass) Return a suite of all tests cases contained in the TestCase-derived

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

@test.support.skip_unless_symlink A decorator for running tests that require support for symbolic links.

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

source A string containing the example’s source code. This source code consists of a single Python statement, and always ends

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

EnvironmentVarGuard.unset(envvar) Temporarily unset the environment variable envvar.

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

class typing.Generator(Iterator[T_co], Generic[T_co, T_contra, V_co]) A generator can be annotated by the generic type

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

startTestRun() Called once before any tests are executed.

2025-01-10 15:47:30