code: def expect_get_info(
      rsps: Optional[responses.RequestsMock] = None,
      master_url: str = "http://localhost:8080",
  ) -> None:
      if rsps:
          rsps.get(
              f"{master_url}/info",
              status=200,
              json={"version": det.__version__},
          )
      else:
          responses.get(
              f"{master_url}/info",
              status=200,
              json={"version": det.__version__},
          )
  
imports: import contextlib
  import os
  from typing import Any, Iterator, List, Optional, cast
  import responses
  from responses import registries
  import determined
  from determined.common.api import authentication
label_desc: Use image node_id 3 for calling a global function with example usage: expect_get_info(rsps, master_url) without return types