code: def chdir_back_to_root():
      """
      This fixture sets up and tears down state before each example is run.
      Certain examples require that they are run from the local directory in
      which they reside. This changes directory. It reverses this after the
      test finishes.
      """
  
      # Get the current directory before running the test
      cwd = os.getcwd()
  
      yield
  
      # After the test, we need chdir back to root of the repo
      os.chdir(cwd)
  
imports: import os
  import glob
  import pytest
  from testbook import testbook
label_desc: Use image node_id 2 for calling a global function with example usage: chdir_back_to_root() without return types