code: def schedule_invalid(request):
      # Use lambda to prevent iterator from being consumed by first test
      r_func = request.param
      return r_func()
  
file_path: thinc/thinc/tests/test_optimizers.py
imports: import numpy
  import pytest
  from thinc.api import Optimizer, registry
label_desc: Use image node_id 4 for calling a global function with example usage: schedule_invalid(request) and returns: r_func