docstr: Test setting, getting, and deleting tracked_lr_schedulers
docstr_tok: ["Test","setting",",","getting",",","and","deleting","tracked_lr_schedulers"]
code: def test_tracked_lr_schedulers(self) -> None:
      """
      Test setting, getting, and deleting tracked_lr_schedulers
      """
  
      my_unit = Dummy()
  
      # assert that the attribute is stored in tracked_lr_schedulers
      self.assertEqual(
          my_unit.tracked_lr_schedulers()["lr_scheduler_d"],
          my_unit.lr_scheduler_d,
      )
  
      # delete the attribute
      # pyre-fixme[8]: Attribute has type `StepLR`; used as `None`.
      my_unit.lr_scheduler_d = None
  
      # the attribute should be removed from tracked_lr_schedulers
      self.assertFalse(
          "lr_scheduler_d" in my_unit.tracked_lr_schedulers()
      )
  
imports: import unittest
  from typing import Any, Dict
  from unittest.mock import patch
  import torch
  from torch import nn
  from torchtnt.framework._test_utils import DummyAutoUnit
  from torchtnt.framework.unit import AppStateMixin
  from torchtnt.utils.env import init_from_env
  from torchtnt.utils.lr_scheduler import TLRScheduler
  from torchtnt.utils.prepare_module import FSDPOptimizerWrapper
label_desc: Use image node_id 3 for calling the AppStateMixinTest obj's underlying member method code with example usage: obj.test_tracked_lr_schedulers() without return types