code: def test_manual_versioning(tmp_path):
      """Verify that manual versioning works."""
      root_dir = tmp_path / "exp"
      (root_dir / "version_0").mkdir(parents=True)
      (root_dir / "version_1").mkdir()
      (root_dir / "version_2").mkdir()
      logger = CSVLogger(root_dir=root_dir, name="exp", version=1)
      assert logger.version == 1
  
file_path: pytorch-lightning/tests/tests_fabric/loggers/test_csv.py
imports: import os
  from unittest.mock import MagicMock
  import pytest
  import torch
  from lightning.fabric.loggers import CSVLogger
  from lightning.fabric.loggers.csv_logs import _ExperimentWriter
label_desc: Use image node_id 3 for calling a global function with example usage: test_manual_versioning(tmp_path) without return types