class_docstr: A TestEnvironment to swap in for `starcraft2.env.sc2_env.SC2Env`.
  
  Repeatedly returns a mock observation for 10 calls to `step` whereupon it
  sets discount to 0. and changes state to READY_TO_END_EPISODE.
  
  Example:
  
  ```
  @mock.patch(
      'starcraft2.env.sc2_env.SC2Env',
      mock_sc2_env.SC2TestEnv)
  def test_method(self):
    env = sc2_env.SC2Env('nonexisting map')  # Really a SC2TestEnv.
    ...
  ```
  
  See base class for more details.
class_docstr_tok: ["A","TestEnvironment","to","swap","in","for","`","starcraft2.env.sc2_env.SC2Env","`",".","Repeatedly","returns","a","mock","observation","for","10","calls","to","`","step","`","whereupon","it","sets","discount","to","0.","and","changes","state","to","READY_TO_END_EPISODE",".","Example",":","``","`","@","mock.patch","(","'starcraft2.env.sc2_env.SC2Env","'",",","mock_sc2_env.SC2TestEnv",")","def","test_method","(","self",")",":","env","=","sc2_env.SC2Env","(","'nonexisting","map","'",")","#","Really","a","SC2TestEnv",".","...","``","`","See","base","class","for","more","details","."]
code: def game_info(self):
      return self._game_info
  
imports: import numpy
  from pysc2.env import environment
  from pysc2.env import sc2_env
  from pysc2.lib import features
  from pysc2.lib import units
  from pysc2.tests import dummy_observation
  from s2clientprotocol import common_pb2
  from s2clientprotocol import raw_pb2
  from s2clientprotocol import sc2api_pb2
label_desc: Use image node_id 2 for calling the SC2TestEnv obj's underlying member method code with example usage: obj.game_info() and returns: self