code: def _make_reset_results(results):
      def _reset_result(self, seed=None, options=None):
          return results
  
      return _reset_result
  
imports: import re
  import warnings
  from typing import Dict, Union
  import numpy
  import pytest
  import gym
  from gym import spaces
  from gym.utils.passive_env_checker import check_action_space, check_obs, check_observation_space, env_render_passive_checker, env_reset_passive_checker, env_step_passive_checker
  from tests.testing_env import GenericTestEnv
label_desc: Use image node_id 8 for calling a global function with example usage: _make_reset_results(results) and returns: _reset_result, results