code: def test_tensorboard_no_name(tmp_path, name):
      """Verify that None or empty name works."""
      logger = TensorBoardLogger(root_dir=tmp_path, name=name)
      logger.log_hyperparams(
          {"a": 1, "b": 2, 123: 3, 3.5: 4, 5j: 5}
      )  # Force data to be written
      assert os.path.normpath(logger.root_dir) == str(
          tmp_path
      )  # use os.path.normpath to handle trailing /
      assert os.listdir(tmp_path / "version_0")
  
imports: import logging
  import os
  from argparse import Namespace
  from unittest import mock
  from unittest.mock import Mock
  import numpy
  import pytest
  import torch
  from lightning.fabric.loggers import TensorBoardLogger
  from lightning.fabric.loggers.tensorboard import _TENSORBOARD_AVAILABLE
  from lightning.fabric.wrappers import _FabricModule
  from tests_fabric.test_fabric import BoringModel
label_desc: Use image node_id 4 for calling a global function with example usage: test_tensorboard_no_name(tmp_path, name) without return types