code: def test_yaml_file_non_exist_fail(self):
      with pytest.raises(merrors.MetricsCacheIOError) as exc_info:
          MetricsCacheYamlImpl(
              os.path.join(dir_path, "doesnt_exist.yaml")
          )
      assert "No such file or directory" in str(exc_info.value)
  
imports: import os
  import uuid
  import pytest
  import ts.metrics.metric_cache_errors
  from ts.metrics.caching_metric import CachingMetric
  from ts.metrics.dimension import Dimension
  from ts.metrics.metric_cache_yaml_impl import MetricsCacheYamlImpl
  from ts.metrics.metric_type_enum import MetricTypes
label_desc: Use image node_id 5 for calling the TestParseYaml obj's underlying member method code with example usage: obj.test_yaml_file_non_exist_fail() without return types