code: def test_yaml_safe_dump_files() -> None:
      input_obj = {"asdf": 1}
      expect = "asdf: 1\n"
  
      d = pathlib.Path(tempfile.mkdtemp())
      try:
          path = d / "temp"
          with path.open("w") as f:
              util.yaml_safe_dump(
                  input_obj, stream=f, default_flow_style=False
              )
          got_text = path.read_text()
          assert got_text == expect
      finally:
          shutil.rmtree(d)
  
file_path: determined/harness/tests/common/test_yaml.py
imports: import pathlib
  import shutil
  import tempfile
  from determined.common import util
label_desc: Use image node_id 4 for calling a global function with example usage: test_yaml_safe_dump_files() without return types