code: def test_log_hyperparams(tmp_path):
      logger = CSVLogger(tmp_path)
      with pytest.raises(NotImplementedError):
          logger.log_hyperparams({})
  
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 7 for calling a global function with example usage: test_log_hyperparams(tmp_path) without return types