code: def test_invalid_seeds():
      for seed in [-1, "test"]:
          try:
              seeding.np_random(seed)
          except error.Error:
              pass
          else:
              assert False, f"Invalid seed {seed} passed validation"
  
imports: import pickle
  from gym import error
  from gym.utils import seeding
label_desc: Use image node_id 1 for calling a global function with example usage: test_invalid_seeds() without return types