code: def get_raise_signal():
      if sys.version_info >= (3, 8):
          return signal.raise_signal
      elif os.name == "nt":
          # On Windows, os.kill() doesn't actually send a signal,
          # it just terminates the process with the given exit code.
          pytest.skip("test requires Python 3.8+ on Windows")
      else:
          # On Unix, emulate raise_signal() with os.kill().
          def raise_signal(signum):
              os.kill(os.getpid(), signum)
  
          return raise_signal
  
imports: import contextlib
  import decimal
  import gc
  import numpy
  import os
  import random
  import re
  import shutil
  import signal
  import socket
  import string
  import subprocess
  import sys
  import time
  import pytest
  import pyarrow
  import pyarrow.fs
label_desc: Use image node_id 14 for calling a global function with example usage: get_raise_signal() and returns: signal, raise_signal