human
Solve the following python programming problem given the following code:
def test_run(self) : 
    '
        Check correct signal handling in Scheduler.run().
        ' 
    def send_stop_signal() : 
        '
            Sleep for 1 second, then send a INT signal to ourself, so the
            signal handler installed by scheduler.run() is called.
            ' 
        time.sleep (1) 
        os.kill (os.getpid (), signal.SIGINT) 
thread = Thread (target = send_stop_signal) 
    thread.start () 
    self.assertRaises (SystemExit, thread.scheduler.run) 
    thread.join () 

    
    

    Fix the buggy line: self.assertRaises (SystemExit, thread.scheduler.run)
assistant
#Here is Python program to fix the buggy line: self.

self.assertRaises (SystemExit, self.scheduler.run)