code: def test_to_filename() -> None:
      dirpath = tempfile.mkdtemp()
      try:
          xp = hip.Experiment.from_iterable(
              [{"uid": 1, "k": "v"}, {"uid": 2, "k": "vk", "k2": "vk2"}]
          )
          xp.to_html(dirpath + "/xp.html")
          csv_path = dirpath + "/xp.csv"
          xp.to_csv(csv_path)
          hip.Experiment.from_csv(csv_path).validate()
      finally:
          shutil.rmtree(dirpath)
  
imports: import tempfile
  import shutil
  from contextlib import contextmanager
  from unittest.mock import patch
  import typing
  import pytest
  import pandas
  import optuna
  import hiplot
label_desc: Use image node_id 13 for calling a global function with example usage: test_to_filename() without return types