code: def test_no_torchvision(mock_no_torchvision):
      with pytest.raises(
          ModuleNotFoundError,
          match=r"This module requires torchvision to be installed.",
      ):
          InceptionModel(return_features=True)
  
file_path: ignite/tests/ignite/metrics/gan/test_utils.py
imports: from typing import Callable, Optional, Union
  from unittest.mock import patch
  import pytest
  import torch
  import torchvision
  from ignite.metrics.gan.utils import _BaseInceptionMetric, InceptionModel
label_desc: Use image node_id 5 for calling a global function with example usage: test_no_torchvision(mock_no_torchvision) without return types