class_docstr: Mock wrapper with attributes, for testing attributes assignment in nested scenarios.
docstr: Avoid calling this constructor directly, use :method:`wrap` instead.
docstr_tok: ["Avoid","calling","this","constructor","directly",",","use",":","method",":","`","wrap","`","instead","."]
code: def __init__(self, env: MazeEnv):
      """Avoid calling this constructor directly, use :method:`wrap` instead."""
      # BaseEnv is a subset of gym.Env
      super().__init__(env)
  
      # Attribute present only in this wrapper
      self.custom_attribute = 0
  
      # Attribute name present in LogStatsWrapper as well
      self.last_env_time = -1
  
file_path: maze/maze/test/core/wrappers/test_wrapper.py
imports: from maze.core.env.maze_env import MazeEnv
  from maze.core.wrappers.log_stats_wrapper import LogStatsWrapper
  from maze.core.wrappers.wrapper import Wrapper
  from maze.test.shared_test_utils.helper_functions import build_dummy_maze_env
label_desc: Use image node_id 1 to create a new _NestedWrapper object from inherited base classes: Wrapper with example: obj = _NestedWrapper(env)