code: def test_estimator_checks(test_fn):
      # Tests that are skipped:
      # 'check_methods_subset_invariance': Since we add noise, the method is not invariant on a subset
      # 'check_regressors_train': score is not always greater than 0.5 due to randomness
      regr_normal = RandomRegressor(strategy="normal")
      test_fn(RandomRegressor.__name__ + "_normal", regr_normal)
  
      regr_uniform = RandomRegressor(strategy="uniform")
      test_fn(RandomRegressor.__name__ + "_uniform", regr_uniform)
  
file_path: scikit-lego/tests/test_estimators/test_randomregressor.py
imports: import numpy
  import pytest
  from sklego.common import flatten
  from sklego.dummy import RandomRegressor
  from tests.conftest import general_checks, nonmeta_checks, regressor_checks, select_tests
label_desc: Use image node_id 1 for calling a global function with example usage: test_estimator_checks(test_fn) without return types