code: def test_no_visdom(no_site_packages):
      with pytest.raises(
          ModuleNotFoundError,
          match=r"This contrib module requires visdom package",
      ):
          VisdomLogger()
  
imports: import sys
  from unittest.mock import ANY, call, MagicMock, patch
  import pytest
  import torch
  from ignite.contrib.handlers.visdom_logger import _DummyExecutor, global_step_from_engine, GradsScalarHandler, OptimizerParamsHandler, OutputHandler, VisdomLogger, WeightsScalarHandler
  from ignite.engine import Engine, Events, State
label_desc: Use image node_id 23 for calling a global function with example usage: test_no_visdom(no_site_packages) without return types