code: def test_load_states_by_epoch(self):
      testargs = f"""
          examples/by_feature/checkpointing.py
          --resume_from_checkpoint {os.path.join(self.tmpdir, "epoch_0")}
          """.split()
      output = run_command(
          self._launch_args + testargs, return_stdout=True
      )
      self.assertNotIn("epoch 0:", output)
      self.assertIn("epoch 1:", output)
  
imports: import ast
  import os
  import re
  import shutil
  import tempfile
  import unittest
  from unittest import mock
  import torch
  from accelerate.test_utils.examples import compare_against_test
  from accelerate.test_utils.testing import TempDirTestCase, require_trackers, run_command, slow
  from accelerate.utils import write_basic_config
label_desc: Use image node_id 5 for calling the FeatureExamplesTests obj's underlying member method code with example usage: obj.test_load_states_by_epoch() without return types