code: def test_wrong_encoding():
      # It's more of a problem when the file doesn't actually decode.
      with pytest.raises(subprocess.CalledProcessError) as exception:
          get_command_output(
              [
                  "poetry",
                  "run",
                  "ftfy",
                  "-e",
                  "windows-1252",
                  TEST_FILENAME,
              ]
          )
      assert exception.value.output.decode("utf-8") == FAILED_OUTPUT
  
file_path: python-ftfy/tests/test_cli.py
imports: import subprocess
  import os
  import pytest
label_desc: Use image node_id 5 for calling a global function with example usage: test_wrong_encoding() without return types