code: def unset_pretrained_models_from_opts(
      opts: argparse.Namespace,
  ) -> None:
      """Unset the argument corresponding to pretrained model path in opts during tests"""
      opts_as_dict = vars(opts)
      for k, v in opts_as_dict.items():
          if is_pretrained_model_key(k):
              setattr(opts, k, None)
  
imports: import argparse
  import re
  from typing import Tuple
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: unset_pretrained_models_from_opts(opts) without return types