code: def test_check_params(art_warning):
      try:
          with pytest.raises(ValueError):
              _ = Mp3CompressionPyTorch(
                  sample_rate=1000, verbose="False"
              )
  
      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 5 for calling a global function with example usage: test_check_params(art_warning) without return types