code: def should_fail(f):
      try:
          f()
      except ipp.error.KernelError:
          pass
      else:
          print("should have raised")
  
file_path: ipyparallel/docs/source/examples/dependencies.py
imports: import ipyparallel
  from ipyparallel import Dependency
label_desc: Use image node_id 8 for calling a global function with example usage: should_fail(f) without return types