code: def test_tensorboard_named_version(tmp_path):
      """Verify that manual versioning works for string versions, e.g. '2020-02-05-162402'."""
      name = "tb_versioning"
      (tmp_path / name).mkdir()
      expected_version = "2020-02-05-162402"
  
      logger = TensorBoardLogger(
          root_dir=tmp_path, name=name, version=expected_version
      )
      logger.log_hyperparams(
          {"a": 1, "b": 2, 123: 3, 3.5: 4, 5j: 5}
      )  # Force data to be written
  
      assert logger.version == expected_version
      assert os.listdir(tmp_path / name) == [expected_version]
      assert os.listdir(tmp_path / name / expected_version)
  
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 3 for calling a global function with example usage: test_tensorboard_named_version(tmp_path) without return types