code: def assertListAlmostEqual(self, list1, list2, tol):
      self.assertEqual(len(list1), len(list2))
      for a, b in zip(list1, list2):
          self.assertAlmostEqual(a, b, delta=tol)
  
file_path: towhee/tests/unittests/trainer/test_scheduler.py
imports: import os
  import tempfile
  import unittest
  import torch
  from torch import nn
  from towhee.trainer.optimization.adafactor import Adafactor
  from towhee.trainer.optimization.adamw import AdamW
  from towhee.trainer.scheduler import configure_constant_scheduler, configure_constant_scheduler_with_warmup, configure_linear_scheduler_with_warmup, configure_cosine_scheduler_with_warmup, configure_cosine_with_hard_restarts_scheduler_with_warmup, configure_polynomial_decay_scheduler_with_warmup
label_desc: Use image node_id 1 for calling the OptimizationTest obj's underlying member method code with example usage: obj.assertListAlmostEqual(list1, list2, tol) without return types