class_docstr: Test the import_optional function.
docstr: Test import_optional correctly imports installed module.
code: def test_import_optional_module(self):
      """Test import_optional correctly imports installed module."""
      requests = import_optional("requests")
      assert requests.__version__
  
file_path: alibi/alibi/utils/tests/test_import_optional.py
imports: import pytest
  from alibi.utils.missing_optional_dependency import import_optional, ERROR_TYPES, MissingDependency
label_desc: Use image node_id 3 for calling the TestImportOptional obj's underlying member method code with example usage: obj.test_import_optional_module() without return types