code: def test_instantiate_with_invalid_fit_compute_func(self):
      class DummyStepWithoutFit(Step):
          def predict(self, X):
              pass
  
          def somefunc(self, X):
              pass
  
      class DummyStepWithFitPredict(Step):
          def predict(self, X):
              pass
  
          def fit_predict(self, X, y):
              pass
  
      class DummyStepWithFitTransform(Step):
          def transform(self, X):
              pass
  
          def fit_transform(self, X, y):
              pass
  
      x = Input()
  
      step = DummyStepWithoutFit()
      step(x, fit_compute_func="auto")
      assert step.fit_compute_func is None
  
      with pytest.raises(ValueError):
          step = DummyStepWithoutFit()
          step(x, fit_compute_func=123)
  
      step = DummyStepWithoutFit()
      step(x, fit_compute_func="somefunc")
      assert step.fit_compute_func == step.somefunc
  
      def anotherfunc():
          pass
  
      step = DummyStepWithoutFit()
      step(x, fit_compute_func=anotherfunc)
      assert step.fit_compute_func == anotherfunc
  
      step = DummyStepWithFitPredict()
      step(x)
      assert step.fit_compute_func == step.fit_predict
  
      step = DummyStepWithFitTransform()
      step(x)
      assert step.fit_compute_func == step.fit_transform
  
      step = DummyStepWithFitTransform()
      step(x, fit_compute_func=None)
      assert step.fit_compute_func is None
  
imports: from contextlib import contextmanager
  from functools import partial
  import pytest
  from sklearn.base import TransformerMixin, BaseEstimator
  from baikal import Input, Step, set_config
  from baikal._core.data_placeholder import DataPlaceholder
  from baikal._core.step import InputStep
  from tests.helpers.fixtures import teardown
  from tests.helpers.dummy_steps import DummyMIMO, DummySISO, DummyEstimator
  from tests.helpers.sklearn_steps import LogisticRegression, PCA
label_desc: Use image node_id 3 for calling the TestStep obj's underlying member method code with example usage: obj.test_instantiate_with_invalid_fit_compute_func() without return types