code: def test_parameterize_pytest_impl(testdir, src, outcomes):
      testdir.makepyfile("from cupy import testing\n" + src)
      result = testdir.runpytest("-v", "--tb=no")
      expected_lines = [
          ".*{} {}.*".format(re.escape(name), res)
          for name, res in outcomes
      ]
      print("Result", pytest.__version__)
      print("---")
      print("Expected", "\n".join(expected_lines))
      result.stdout.re_match_lines(expected_lines)
      expected_count = collections.Counter(
          [res.lower() for _, res in outcomes]
      )
      result.assert_outcomes(**expected_count)
  
imports: import collections
  import re
  import textwrap
  import unittest
  import pytest
  from cupy import testing
label_desc: Use image node_id 2 for calling a global function with example usage: test_parameterize_pytest_impl(testdir, src, outcomes) without return types