class_docstr: Fixture that provides the same interface to functions in the mock module,
  ensuring that they are uninstalled at the end of each test.
class_docstr_tok: ["Fixture","that","provides","the","same","interface","to","functions","in","the","mock","module",",","ensuring","that","they","are","uninstalled","at","the","end","of","each","test","."]
code: def __init__(self, config: Any) -> None:
      self._patches_and_mocks: List[
          Tuple[Any, unittest.mock.MagicMock]
      ] = []
      self.mock_module = mock_module = get_mock_module(config)
      self.patch = self._Patcher(
          self._patches_and_mocks, mock_module
      )  # type: MockerFixture._Patcher
      # aliases for convenience
      self.Mock = mock_module.Mock
      self.MagicMock = mock_module.MagicMock
      self.NonCallableMock = mock_module.NonCallableMock
      self.NonCallableMagicMock = mock_module.NonCallableMagicMock
      self.PropertyMock = mock_module.PropertyMock
      if hasattr(mock_module, "AsyncMock"):
          self.AsyncMock = mock_module.AsyncMock
      self.call = mock_module.call
      self.ANY = mock_module.ANY
      self.DEFAULT = mock_module.DEFAULT
      self.sentinel = mock_module.sentinel
      self.mock_open = mock_module.mock_open
      if hasattr(mock_module, "seal"):
          self.seal = mock_module.seal
  
imports: import asyncio
  import builtins
  import functools
  import inspect
  import sys
  import unittest.mock
  import warnings
  from typing import Any
  from typing import Callable
  from typing import cast
  from typing import Dict
  from typing import Generator
  from typing import Iterable
  from typing import List
  from typing import Mapping
  from typing import Optional
  from typing import overload
  from typing import Tuple
  from typing import Type
  from typing import TypeVar
  from typing import Union
  import pytest
  from ._util import get_mock_module
  from ._util import parse_ini_boolean
label_desc: Use image node_id 1 to create a new MockerFixture object  with example: obj = MockerFixture(config)