testing/xvfb_unittest.py
def send_signal(proc, sig, sleep_time=0.3):
  """Sends a signal to subprocess."""
  time.sleep(sleep_time)  # gives process time to launch.
  os.kill(proc.pid, sig)
  proc.wait()
Sends a signal to subprocess.
Sends a signal to subprocess.
Sends a signal to subprocess .
def send_signal(proc, sig, sleep_time=0.3):
  time.sleep(sleep_time)  
  os.kill(proc.pid, sig)
  proc.wait()
def send_signal ( proc , sig , sleep_time = 0.3 ) : time . sleep ( sleep_time ) os . kill ( proc . pid , sig ) proc . wait ( )
Sends a signal to subprocess.
Sends a signal to subprocess .
"""Sends a signal to subprocess.""" # gives process time to launch.
proc
sig
sleep_time