code: def test_clearml_disk_saver_integration_no_logger():
      model = torch.nn.Module()
      to_save_serializable = {"model": model}
  
      with pytest.warns(
          UserWarning,
          match="ClearMLSaver created a temporary checkpoints directory",
      ):
          clearml.Task.current_task = MagicMock(spec=clearml.Task)
          clearml.binding.frameworks.WeightsFileHandler.create_output_model = (
              MagicMock()
          )
          clearml_saver = ClearMLSaver()
          checkpoint = Checkpoint(
              to_save=to_save_serializable,
              save_handler=clearml_saver,
              n_saved=1,
          )
  
      trainer = Engine(lambda e, b: None)
      trainer.state = State(epoch=0, iteration=0)
      checkpoint(trainer)
      trainer.state.iteration = 1
      checkpoint(trainer)
  
      if clearml_saver._atomic:
          assert (
              clearml.binding.frameworks.WeightsFileHandler.create_output_model.call_count
              == 2
          )
      else:
          saved_files = list(os.listdir(clearml_saver.dirname))
          assert len(saved_files) == 1
          assert saved_files[0] == "model_1.pt"
  
imports: import math
  import os
  from collections import defaultdict
  from unittest.mock import ANY, call, MagicMock, patch
  import clearml
  import pytest
  import torch
  from clearml.binding.frameworks import WeightsFileHandler
  from clearml.model import Framework
  import ignite.distributed
  from ignite.contrib.handlers.clearml_logger import ClearMLLogger, ClearMLSaver, global_step_from_engine, GradsHistHandler, GradsScalarHandler, OptimizerParamsHandler, OutputHandler, WeightsHistHandler, WeightsScalarHandler
  from ignite.engine import Engine, Events, State
  from ignite.handlers import Checkpoint
label_desc: Use image node_id 29 for calling a global function with example usage: test_clearml_disk_saver_integration_no_logger() without return types