code: def make_test(test, transformer):
      bound_test = partial(test, transformer)
      bound_test.__name__ = test.__name__
      pyunit_utils.tag_test(bound_test, transformer.__name__)
      return bound_test
  
file_path: h2o-3/h2o-py/tests/testdir_sklearn/pyunit_sklearn_estimators_as_transformers.py
imports: from collections import defaultdict
  from functools import partial
  import gc, inspect, os, sys
  import numpy
  from sklearn.datasets import make_classification, make_regression
  from sklearn.metrics import accuracy_score
  from sklearn.model_selection import train_test_split
  import h2o
  from h2o.sklearn.wrapper import H2OConnectionMonitorMixin
  from tests import pyunit_utils, Namespace
label_desc: Use image node_id 8 for calling a global function with example usage: make_test(test, transformer) and returns: bound_test