code: def test_run_multiproc_nondaemon_false():
      """
      This is the entry point for the test. Two times a pipe of several
      multiprocessing jobs gets executed. First, without the nondaemon flag.
      Second, with the nondaemon flag.
  
      Since the processes of the pipe start child processes, the execution only
      succeeds when the non_daemon flag is on.
      """
      shouldHaveFailed = False
      try:
          # with nondaemon_flag = False, the execution should fail
          run_multiproc_nondaemon_with_flag(False)
      except:
          shouldHaveFailed = True
      assert shouldHaveFailed
  
file_path: nipype/nipype/pipeline/plugins/tests/test_legacymultiproc_nondaemon.py
imports: import os
  import sys
  from tempfile import mkdtemp
  from shutil import rmtree
  import pytest
  import nipype.pipeline.engine
  from nipype.interfaces.utility import Function
label_desc: Use image node_id 3 for calling a global function with example usage: test_run_multiproc_nondaemon_false() without return types