code: def test_scheduler_factory__can_construct_valid_config_with_class_scheduler():
      scheduler_cls, scheduler_params = scheduler_factory(
          hyperparameter_tune_kwargs={
              "scheduler": LocalSequentialScheduler,
              "searcher": "local_random",
          }
      )
      assert (
          scheduler_cls == LocalSequentialScheduler
      ), "scheduler_cls must be correct"
  
file_path: autogluon/core/tests/unittests/core/scheduler/test_scheduler_factory.py
imports: import pytest
  from autogluon.core.scheduler.scheduler_factory import get_hyperparameter_tune_kwargs_preset, scheduler_factory
  from autogluon.core.scheduler.seq_scheduler import LocalSequentialScheduler
label_desc: Use image node_id 2 for calling a global function with example usage: test_scheduler_factory__can_construct_valid_config_with_class_scheduler() without return types