class_docstr: A dummy environment which returns ascending numbers starting at `0` when :meth:`self.step()` is called.
  
  After the second call to :meth:`self.step()` terminated is true.
  Info dicts are also returned containing the same number returned as an observation, accessible via the key "count".
  This environment is provided for the purpose of testing the autoreset wrapper.
class_docstr_tok: ["A","dummy","environment","which","returns","ascending","numbers","starting","at","`","0","`","when",":","meth",":","`","self.step","(",")","`","is","called",".","After","the","second","call","to",":","meth",":","`","self.step","(",")","`","terminated","is","true",".","Info","dicts","are","also","returned","containing","the","same","number","returned","as","an","observation",",","accessible","via","the","key","``","count","''",".","This","environment","is","provided","for","the","purpose","of","testing","the","autoreset","wrapper","."]
docstr: Initialise the DummyResetEnv.
docstr_tok: ["Initialise","the","DummyResetEnv","."]
code: def __init__(self):
      """Initialise the DummyResetEnv."""
      self.action_space = gym.spaces.Box(
          low=np.array([0]), high=np.array([2]), dtype=np.int64
      )
      self.observation_space = gym.spaces.Discrete(2)
      self.count = 0
  
file_path: gym/tests/wrappers/test_autoreset.py
imports: from typing import Generator, Optional
  from unittest.mock import MagicMock
  import numpy
  import pytest
  import gym
  from gym.wrappers import AutoResetWrapper
  from tests.envs.utils import all_testing_env_specs
label_desc: Use image node_id 1 to create a new DummyResetEnv object from inherited base classes: gym with example: obj = DummyResetEnv()