code: def setUp(self):
      import avalanche.benchmarks.classic.cfashion_mnist as cfashion_mnist
      from avalanche.benchmarks.datasets.external_datasets.fmnist import (
          get_fmnist_dataset,
      )
  
      global MNIST_DOWNLOAD_METHOD
      MNIST_DOWNLOAD_METHOD = get_fmnist_dataset
  
      def count_downloads(*args, **kwargs):
          global MNIST_DOWNLOADS
          MNIST_DOWNLOADS += 1
          return MNIST_DOWNLOAD_METHOD(*args, **kwargs)
  
      avalanche.benchmarks.datasets.external_datasets.fmnist.get_fmnist_dataset = (
          count_downloads
      )
  
file_path: avalanche/tests/benchmarks/classic/test_fmnist_benckmarks.py
imports: import unittest
  import avalanche.benchmarks.datasets.external_datasets.fmnist
  from avalanche.benchmarks import ClassificationExperience, SplitFMNIST
  from tests.unit_tests_utils import load_experience_train_eval, FAST_TEST, is_github_action
label_desc: Use image node_id 1 for calling the FMNISTBenchmarksTests obj's underlying member method code with example usage: obj.setUp() and returns: MNIST_DOWNLOAD_METHOD