code: def test_rng_pickle():
      rng, _ = seeding.np_random(seed=0)
      pickled = pickle.dumps(rng)
      rng2 = pickle.loads(pickled)
      assert isinstance(
          rng2, seeding.RandomNumberGenerator
      ), "Unpickled object is not a RandomNumberGenerator"
      assert rng.random() == rng2.random()
  
imports: import pickle
  from gym import error
  from gym.utils import seeding
label_desc: Use image node_id 3 for calling a global function with example usage: test_rng_pickle() without return types