[TIP] Testing Windows CTRL-C handler under Tox
André Caron
andre.l.caron at gmail.com
Sun Aug 14 16:35:29 PDT 2016
Hi all,
I'm writing a context manager for asyncio that will set the result on a
future when CTRL-C or SIGINT is received and I have an issue with the
Windows part.
When testing on POSIX platforms, I use "os.kill(os.getpid(),
signal.SIGINT)" to execute my signal handler. I'm trying to convert this
to some Windows equivalent an I'm getting a surprise.
More information about the testing-in-python
mailing list