code: def test_deps_info():
      """Test that _get_deps_info returns package/version dict as per contract."""
      deps_info = _get_deps_info()
      assert isinstance(deps_info, dict)
      assert set(deps_info.keys()) == {"sktime"}
  
      deps_info_default = _get_deps_info(DEFAULT_DEPS_TO_SHOW)
      assert isinstance(deps_info_default, dict)
      assert set(deps_info_default.keys()) == set(DEFAULT_DEPS_TO_SHOW)
  
      for key in DEFAULT_DEPS_TO_SHOW:
          key_is_available = _check_soft_dependencies(
              key, severity="none"
          )
          assert (deps_info_default[key] is None) != key_is_available
          if key_is_available:
              assert _check_soft_dependencies(
                  f"{key}=={deps_info_default[key]}"
              )
          deps_single_key = _get_deps_info([key])
          assert set(deps_single_key.keys()) == {key}
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_deps_info() without return types