code: def test_sample_rate_original_error(art_warning):
      try:
          exc_msg = "Original sampling rate be must a positive integer."
          with pytest.raises(ValueError, match=exc_msg):
              Resample(sr_original=0, sr_new=16000)
      except ARTTestException as e:
          art_warning(e)
  
file_path: adversarial-robustness-toolbox/tests/defences/preprocessor/test_resample.py
imports: import logging
  import numpy
  import pytest
  import resampy
  from art.defences.preprocessor import Resample
  from tests.utils import ARTTestException
label_desc: Use image node_id 2 for calling a global function with example usage: test_sample_rate_original_error(art_warning) without return types