code: def test_show_toml(tmp_dir, dvc, run_copy_metrics):
      tmp_dir.gen("metrics_t.toml", "[foo]\nbar = 1.2")
      run_copy_metrics(
          "metrics_t.toml",
          "metrics.toml",
          name="copy-metrics",
          metrics=["metrics.toml"],
      )
      assert dvc.metrics.show() == {
          "": {
              "data": {"metrics.toml": {"data": {"foo": {"bar": 1.2}}}}
          }
      }
  
imports: import json
  import os
  from os.path import join
  import pytest
  from funcy import get_in
  from dvc.cli import main
  from dvc.dvcfile import PROJECT_FILE
  from dvc.exceptions import OverlappingOutputPathsError
  from dvc.repo import Repo
  from dvc.utils.fs import remove
  from dvc.utils.serialize import JSONFileCorruptedError
label_desc: Use image node_id 4 for calling a global function with example usage: test_show_toml(tmp_dir, dvc, run_copy_metrics) without return types