code: def test_non_temporal_data_error(art_warning, image_batch_small):
      try:
          test_input = image_batch_small
          mp3compression = Mp3CompressionPyTorch(sample_rate=16000)
  
          exc_msg = "Mp3 compression can only be applied to temporal data across at least one channel."
          with pytest.raises(ValueError, match=exc_msg):
              mp3compression(test_input)
      except ARTTestException as e:
          art_warning(e)
  
file_path: adversarial-robustness-toolbox/tests/defences/preprocessor/test_mp3_compression_pytorch.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 Mp3CompressionPyTorch
  from tests.utils import ARTTestException
label_desc: Use image node_id 3 for calling a global function with example usage: test_non_temporal_data_error(art_warning, image_batch_small) without return types