code: def expected_values(framework, request):
      """
      Retrieves the expected values that were stored using the store_expected_values fixture
      :param request:
      :return:
      """
  
      file_name = request.node.location[0].split("/")[-1][:-3] + ".json"
  
      framework_name = framework
      if framework_name:
          framework_name = "_" + framework_name
  
      def _expected_values():
          with open(
              os.path.join(
                  os.path.dirname(__file__),
                  os.path.dirname(request.node.location[0]),
                  file_name,
              ),
              "r",
          ) as f:
              expected_values = json.load(f)
  
              # searching first for any framework specific expected value
              framework_specific_values = (
                  request.node.name + framework_name
              )
              if framework_specific_values in expected_values:
                  return expected_values[framework_specific_values]
              elif request.node.name in expected_values:
                  return expected_values[request.node.name]
              else:
                  raise ARTTestFixtureNotImplemented(
                      "Couldn't find any expected values for test {0}".format(
                          request.node.name
                      ),
                      expected_values.__name__,
                      framework_name,
                  )
  
      return _expected_values
  
imports: import importlib
  import json
  import logging
  import os
  import shutil
  import tempfile
  from typing import Dict, List, TYPE_CHECKING, Union
  import warnings
  import numpy
  import pytest
  import requests
  from art.data_generators import KerasDataGenerator, MXDataGenerator, PyTorchDataGenerator, TensorFlowDataGenerator, TensorFlowV2DataGenerator
  from art.defences.preprocessor import FeatureSqueezing, JpegCompression, SpatialSmoothing
  from art.estimators.classification import KerasClassifier
  from tests.utils import ARTTestFixtureNotImplemented, get_attack_classifier_pt, get_image_classifier_kr, get_image_classifier_kr_functional, get_image_classifier_kr_tf, get_image_classifier_kr_tf_functional, get_image_classifier_kr_tf_with_wildcard, get_image_classifier_mxnet_custom_ini, get_image_classifier_pt, get_image_classifier_pt_functional, get_image_classifier_tf, get_image_classifier_hf, get_image_gan_tf_v2, get_image_generator_tf_v2, get_tabular_classifier_kr, get_tabular_classifier_pt, get_tabular_classifier_scikit_list, get_tabular_classifier_tf, load_dataset, master_seed
label_desc: Use image node_id 10 for calling a global function with example usage: expected_values(framework, request) and returns: _expected_values, expected_values, expected_values