code: def test_filename_conflict(test_file, configuration):
      """Test error handling with static pattern."""
      separator = Separator(configuration, multiprocess=False)
      with TemporaryDirectory() as directory:
          with pytest.raises(SpleeterError):
              separator.separate_to_file(
                  test_file,
                  directory,
                  filename_format="I wanna be your lover",
              )
  
file_path: spleeter/tests/test_separator.py
imports: import itertools
  from os.path import basename, exists, join, splitext
  from tempfile import TemporaryDirectory
  import numpy
  import pytest
  import tensorflow
  from spleeter import SpleeterError
  from spleeter.audio.adapter import AudioAdapter
  from spleeter.separator import Separator
label_desc: Use image node_id 4 for calling a global function with example usage: test_filename_conflict(test_file, configuration) without return types