code: def example(request):
      sys.path.insert(0, EXAMPLES_DIR)
      request.addfinalizer(lambda: sys.path.remove(EXAMPLES_DIR))
  
file_path: Lasagne/lasagne/tests/test_examples.py
imports: from glob import glob
  from importlib import import_module
  from os.path import basename
  from os.path import dirname
  from os.path import join
  from os.path import splitext
  import sys
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: example(request) without return types