code: def test_zir(test_fn):
      regr = ZeroInflatedRegressor(
          classifier=ExtraTreesClassifier(random_state=0),
          regressor=ExtraTreesRegressor(random_state=0),
      )
      test_fn(ZeroInflatedRegressor.__name__, regr)
  
file_path: scikit-lego/tests/test_meta/test_zero_inflated_regressor.py
imports: import numpy
  import pytest
  from sklearn.ensemble import ExtraTreesClassifier, ExtraTreesRegressor
  from sklearn.neighbors import KNeighborsClassifier, KNeighborsRegressor
  from sklego.common import flatten
  from sklego.meta import ZeroInflatedRegressor
  from sklego.testing import check_shape_remains_same_regressor
  from tests.conftest import general_checks, regressor_checks, select_tests
label_desc: Use image node_id 1 for calling a global function with example usage: test_zir(test_fn) without return types