code: def setUpModule():
      global signal_blackboard
  
      signal_blackboard = {
          signal.SIGUSR1: {"tripped": 0, "tripped_by": 0},
          signal.SIGUSR2: {"tripped": 0, "tripped_by": 0},
          signal.SIGALRM: {"tripped": 0, "tripped_by": 0},
      }
  
      oldsigs = registerSignals(
          handle_signals, handle_signals, handle_signals
      )
      unittest.addModuleCleanup(registerSignals, *oldsigs)
  
imports: import unittest
  import signal
  import os
  import sys
  from test.support import threading_helper
  import _thread
  import time
label_desc: Use image node_id 4 for calling a global function with example usage: setUpModule() without return types