code: def test_error_diff(
      code: str, expected: str, pytester: Pytester
  ) -> None:
      expected_lines = [line.lstrip() for line in expected.splitlines()]
      p = pytester.makepyfile(code)
      result = pytester.runpytest(p, "-vv")
      result.stdout.fnmatch_lines(expected_lines)
      assert result.ret == 1
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_error_diff(code, expected, pytester) without return types