code: def test_tdr_sklearn_compliance():
      """Test sklearn estimator compliance."""
      pytest.importorskip("sklearn")
      from sklearn.utils.estimator_checks import check_estimator
  
      tdr = TimeDelayingRidge(0, 10, 1.0, 0.1, "laplacian", n_jobs=1)
      # We don't actually comply with a bunch of the regressor specs :(
      ignores = (
          "check_supervised_y_no_nan",
          "check_regressor",
          "check_parameters_default_constructible",
          "check_estimators_unfitted",
          "_invariance",
          "check_fit2d_1sample",
      )
      for est, check in check_estimator(tdr, generate_only=True):
          if any(ignore in str(check) for ignore in ignores):
              continue
          check(est)
  
imports: from pathlib import Path
  import numpy
  import pytest
  from numpy import einsum
  from numpy.fft import irfft, rfft
  from numpy.testing import assert_allclose, assert_array_equal, assert_equal
  from mne.decoding import ReceptiveField, TimeDelayingRidge
  from mne.decoding.receptive_field import _SCORERS, _delay_time_series, _delays_to_slice, _times_to_delays
  from mne.decoding.time_delaying_ridge import _compute_corrs, _compute_reg_neighbors
label_desc: Use image node_id 11 for calling a global function with example usage: test_tdr_sklearn_compliance() without return types