code: def test_wide_resnets(backbone, pretrained):
      with pytest.raises(
          KeyError,
          match=f"Supervised pretrained weights not available for {backbone}",
      ):
          IMAGE_CLASSIFIER_BACKBONES.get(backbone)(
              pretrained=pretrained
          )
  
file_path: lightning-flash/tests/image/test_backbones.py
imports: import urllib.error
  import pytest
  from flash.core.utilities.imports import _TOPIC_IMAGE_AVAILABLE
  from flash.core.utilities.url_error import catch_url_error
  from flash.image.classification.backbones import IMAGE_CLASSIFIER_BACKBONES
label_desc: Use image node_id 3 for calling a global function with example usage: test_wide_resnets(backbone, pretrained) without return types