code: def test_no_logger(tmpdir, logger_value):
      """Test the cases where logger=None, logger=False, logger=[] are passed to Trainer."""
      trainer = Trainer(
          logger=logger_value,
          default_root_dir=tmpdir,
          max_steps=1,
      )
      assert trainer.logger is None
      assert trainer.loggers == []
      assert trainer.log_dir == tmpdir
  
imports: import pytest
  from lightning.pytorch import Trainer
  from lightning.pytorch.loggers import TensorBoardLogger
  from tests_pytorch.loggers.test_logger import CustomLogger
label_desc: Use image node_id 3 for calling a global function with example usage: test_no_logger(tmpdir, logger_value) without return types