code: def get_test_runner(stream, verbosity, capture_output=False):
      return get_test_runner_class(verbosity, capture_output)(stream)
  
imports: import functools
  import io
  import sys
  import time
  import traceback
  import unittest
  from test import support
label_desc: Use image node_id 2 for calling a global function with example usage: get_test_runner(stream, verbosity, capture_output) and returns: get_test_runner_class