Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When running under pytest, we must not register a signal handler for SIGINT (CTRL-C), as otherwise the pytest internal signal handling does not work. This was also the root-cause, why we could not properly terminate our tests by pressing CTRL-C. Without that handler, the SIGINT raises a KeyboardInterrupt, which is handeled by pytest and either stops the test execution or prints a precise stacktrace of the current execution (which is valuable for debugging hanging tests). Signed-off-by: Felix Moessbauer <[email protected]> Signed-off-by: Jan Kiszka <[email protected]>
- Loading branch information