code: def pytest_generate_tests(metafunc):
      if "optimizer_constructor" in metafunc.fixturenames:
          cases = []
          ids = []
          for o in optimizers:
              c, i = make_test_params(o)
              cases = cases + c
              ids = ids + i
          metafunc.parametrize("optimizer_constructor", cases, ids=ids)
  
file_path: pytorch-optimizer/tests/test_optimizer.py
imports: import functools
  from copy import deepcopy
  import torch
  from torch.autograd import Variable
  from torch.optim.lr_scheduler import ExponentialLR, ReduceLROnPlateau, StepLR
  import torch_optimizer
label_desc: Use image node_id 6 for calling a global function with example usage: pytest_generate_tests(metafunc) without return types