code: def test_parse_rows():
      actual = parse_stdout.parse_rows(stdout.splitlines())
  
      expect = [
          ("distributed.tests.test1", "test_fail", {"FAILED"}),
          ("distributed.tests.test1", "test_error_in_setup", {"ERROR"}),
          (
              "distributed.tests.test1",
              "test_pass_and_then_error_in_teardown",
              {"PASSED", "ERROR"},
          ),
          (
              "distributed.tests.test1",
              "test_fail_and_then_error_in_teardown",
              {"FAILED", "ERROR"},
          ),
          ("distributed.tests.test1", "test_skip", {"SKIPPED"}),
          ("distributed.tests.test1", "test_xfail", {"XFAIL"}),
          ("distributed.tests.test1", "test_flaky", {"PASSED"}),
          ("distributed.tests.test1", "test_leaking", {"PASSED"}),
          ("distributed.tests.test1", "test_pass", {"PASSED"}),
          ("distributed.tests.test1", "test_params[a a]", {"PASSED"}),
          (
              "distributed.tests.test1",
              "test_escape_chars[<lambda>]",
              {"PASSED"},
          ),
          (
              "distributed.tests.test1.MyTest",
              "test_unittest",
              {"PASSED"},
          ),
          ("distributed.tests.test1", "test_timeout", {None}),
      ]
  
      assert actual == expect
  
imports: from __future__ import annotations
  import os
  import re
  import sys
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_parse_rows() without return types