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",
      )
  
      market_data = ("SPY_benchmark.csv", "treasury_curves.csv")
      for data in market_data:
          update_modified_time(
              cls.tmpdir.getpath("example_data/root/data/" + data)
          )
  
file_path: catalyst/tests/test_examples.py
imports: from functools import partial
  import tarfile
  import matplotlib
  from nose_parameterized import parameterized
  import pandas
  from catalyst import examples
  from catalyst.data.bundles import register, unregister
  from catalyst.testing import test_resource_path
  from catalyst.testing.fixtures import WithTmpDir, CatalystTestCase
  from catalyst.testing.predicates import assert_equal
  from catalyst.utils.cache import dataframe_cache
  from catalyst.utils.paths import update_modified_time
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