code: def test_smoothmix_mnist_fit(
      art_warning, get_default_mnist_subset, get_mnist_classifier
  ):
      (_, _), (x_test, y_test) = get_default_mnist_subset
      x_test, y_test = x_test[:10], y_test[:10]
  
      try:
          _, scheduler, rs = get_mnist_classifier()
          rs.fit(
              x=x_test,
              y=y_test,
              batch_size=128,
              nb_epochs=1,
              scheduler=scheduler,
          )
  
      except ARTTestException as e:
          art_warning(e)
  
file_path: adversarial-robustness-toolbox/tests/estimators/certification/test_macer.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import pytest
  import numpy
  from art.estimators.certification.randomized_smoothing import PyTorchMACER, TensorFlowV2MACER
  from tests.utils import ARTTestException, get_image_classifier_pt, get_image_classifier_tf
label_desc: Use image node_id 3 for calling a global function with example usage: test_smoothmix_mnist_fit(art_warning, get_default_mnist_subset, get_mnist_classifier) without return types