code: def test_print_help_sklearn_estimator(
      self, print_help, clf_sklearn, capsys
  ):
      # Should also work with non-skorch sklearn estimator;
      # need to assert that count==1 since there was a bug in my
      # first implementation that resulted in the help for the final
      # estimator appearing twice.
      print_help(clf_sklearn)
      out = capsys.readouterr()[0]
  
      expected_snippets = [
          "-- --help",
          "--fit_intercept",
          "--copy_X",
      ]
      for snippet in expected_snippets:
          assert snippet in out
          assert out.count(snippet) == 1
  
imports: from math import cos
  from unittest.mock import Mock
  from unittest.mock import patch
  import numpy
  import pytest
  from sklearn.pipeline import FeatureUnion
  from sklearn.pipeline import Pipeline
  from sklearn.preprocessing import MinMaxScaler
  from torch import nn
  from torch.nn import RReLU
label_desc: Use image node_id 21 for calling the TestCli obj's underlying member method code with example usage: obj.test_print_help_sklearn_estimator(print_help, clf_sklearn, capsys) without return types