code: def init_class_fixtures(cls):
      super(ExamplesTests, cls).init_class_fixtures()
  
      register("test", lambda *args: None)
      cls.add_class_callback(partial(unregister, "test"))
  
      with tarfile.open(
          test_resource_path("example_data.tar.gz")
      ) as tar:
          tar.extractall(cls.tmpdir.path)
  
      cls.expected_perf = dataframe_cache(
          cls.tmpdir.getpath(
              "example_data/expected_perf/%s"
              % pd.__version__.replace(".", "-"),
          ),
          serialization="pickle",
      )
  
      cls.no_benchmark_expected_perf = {
          example_name: cls._no_benchmark_expectations_applied(
              expected_perf.copy()
          )
          for example_name, expected_perf in cls.expected_perf.items()
      }
  
file_path: zipline/tests/test_examples.py
imports: from functools import partial
  from operator import itemgetter
  import tarfile
  import matplotlib
  import pandas
  from zipline import examples
  from zipline.data.bundles import register, unregister
  from zipline.testing import test_resource_path, parameter_space
  from zipline.testing.fixtures import WithTmpDir, ZiplineTestCase, read_checked_in_benchmark_data
  from zipline.testing.predicates import assert_equal
  from zipline.utils.cache import dataframe_cache
label_desc: Use image node_id 1 for calling the ExamplesTests obj's underlying member method code with example usage: obj.init_class_fixtures(cls) without return types