code: def test_validate_nt_type(self) -> None:
      with self.assertRaises(AssertionError):
          _validate_noise_tunnel_type(
              "abc", SUPPORTED_NOISE_TUNNEL_TYPES
          )
      _validate_noise_tunnel_type(
          "smoothgrad", SUPPORTED_NOISE_TUNNEL_TYPES
      )
      _validate_noise_tunnel_type(
          "smoothgrad_sq", SUPPORTED_NOISE_TUNNEL_TYPES
      )
      _validate_noise_tunnel_type(
          "vargrad", SUPPORTED_NOISE_TUNNEL_TYPES
      )
  
file_path: captum/tests/attr/test_common.py
imports: import torch
  from captum.attr._core.noise_tunnel import SUPPORTED_NOISE_TUNNEL_TYPES
  from captum.attr._utils.common import _validate_input, _validate_noise_tunnel_type
  from tests.helpers.basic import BaseTest
label_desc: Use image node_id 2 for calling the Test obj's underlying member method code with example usage: obj.test_validate_nt_type() without return types