Ticket #3096: updated-testcase.py

File updated-testcase.py, 266 bytes (added by niemeyer, 7 years ago)

Updated test case

Line 
1import signal
2import os
3
4from twisted.internet.glib2reactor import install
5install()
6from twisted.internet import reactor
7
8
9def main():
10    reactor.callLater(1, lambda: os.kill(os.getpid(), signal.SIGCHLD))
11    reactor.run()
12
13
14if __name__ == "__main__":
15    main()
16