code: def test_alternate_encoding():
      # The file isn't really in Windows-1252. But that's a problem ftfy
      # can fix, if it's allowed to be sloppy when reading the file.
      output = get_command_output(
          [
              "poetry",
              "run",
              "ftfy",
              "-e",
              "sloppy-windows-1252",
              TEST_FILENAME,
          ]
      )
      assert output == CORRECT_OUTPUT
  
file_path: python-ftfy/tests/test_cli.py
imports: import subprocess
  import os
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_alternate_encoding() without return types