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: Resets the DummyEnv to return the count array and info with count.
docstr_tok: ["Resets","the","DummyEnv","to","return","the","count","array","and","info","with","count","."]
code: def reset(
      self,
      *,
      seed: Optional[int] = None,
      options: Optional[dict] = None,
  ):
      """Resets the DummyEnv to return the count array and info with count."""
      self.count = 0
      return np.array([self.count]), {"count": self.count}
  
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 3 for calling the DummyResetEnv obj's underlying member method code with example usage: obj.reset() and returns: np,  dict