code: def test_same_file():
      with pytest.raises(subprocess.CalledProcessError) as exception:
          get_command_output(
              [
                  "poetry",
                  "run",
                  "ftfy",
                  TEST_FILENAME,
                  "-o",
                  TEST_FILENAME,
              ]
          )
      error = exception.value.output.decode("utf-8")
      assert error.startswith("ftfy error:")
      assert "Can't read and write the same file" in error
  
file_path: python-ftfy/tests/test_cli.py
imports: import subprocess
  import os
  import pytest
label_desc: Use image node_id 6 for calling a global function with example usage: test_same_file() without return types