code: def test_pass_both_old_and_new_args(self):
      with pytest.raises(ValueError):
          AddBackgroundNoise(
              sounds_path=os.path.join(DEMO_DIR, "background_noises"),
              min_snr_db=15,
              max_snr_db=35,
              min_snr_in_db=15,
              max_snr_in_db=35,
          )
  
file_path: audiomentations/tests/test_add_background_noise.py
imports: import json
  import os
  import pickle
  import random
  import warnings
  import numpy
  import pytest
  from audiomentations import AddBackgroundNoise, Compose, Reverse
  from demo.demo import DEMO_DIR
label_desc: Use image node_id 2 for calling the TestAddBackgroundNoise obj's underlying member method code with example usage: obj.test_pass_both_old_and_new_args() without return types