code: def test_attention_explainer_supports(
      explanation_type, node_mask_type
  ):
      with pytest.raises(
          ValueError, match="not support the given explanation"
      ):
          Explainer(
              model=AttentionGNN(),
              algorithm=AttentionExplainer(),
              explanation_type=explanation_type,
              node_mask_type=node_mask_type,
              edge_mask_type="object",
              model_config=dict(
                  mode="multiclass_classification",
                  task_level="node",
                  return_type="raw",
              ),
          )
  
file_path: pytorch_geometric/test/explain/algorithm/test_attention_explainer.py
imports: import pytest
  import torch
  from torch_geometric.explain import AttentionExplainer, Explainer
  from torch_geometric.explain.config import ExplanationType, MaskType
  from torch_geometric.nn import AttentiveFP, GATConv, GATv2Conv, TransformerConv
label_desc: Use image node_id 2 for calling a global function with example usage: test_attention_explainer_supports(explanation_type, node_mask_type) without return types