code: def test_imgaug_stubs_imported_when_imgaug_is_not_installed(aug_name):
      aug_cls = getattr(A, aug_name)
      assert issubclass(aug_cls, IAAStub)
      with pytest.raises(RuntimeError) as exc_info:
          aug_cls()
          message = (
              f"You are trying to use a deprecated augmentation '{aug_name}' which depends on the imgaug library, "
              f"but imgaug is not installed."
          )
          assert message in str(exc_info.value)
  
file_path: albumentations/tests/test_imgaug_imports.py
imports: import pytest
  import albumentations
  from albumentations.imgaug.stubs import IAAStub
  from tests.conftest import skipif_no_imgaug, skipif_imgaug
label_desc: Use image node_id 3 for calling a global function with example usage: test_imgaug_stubs_imported_when_imgaug_is_not_installed(aug_name) without return types