code: def test_triple_clip_values_error(art_warning):
      try:
          exc_msg = "'clip_values' should be a tuple of 2 floats or arrays containing the allowed data range."
          with pytest.raises(ValueError, match=exc_msg):
              SpatialSmoothing(clip_values=(0, 1, 2))
      except ARTTestException as e:
          art_warning(e)
  
file_path: adversarial-robustness-toolbox/tests/defences/preprocessor/test_spatial_smoothing.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from art.defences.preprocessor import SpatialSmoothing
  from tests.utils import ARTTestException
label_desc: Use image node_id 6 for calling a global function with example usage: test_triple_clip_values_error(art_warning) without return types