diff options
author | Jonathan Lange <jml@mumak.net> | 2016-02-14 13:01:31 +0000 |
---|---|---|
committer | Jonathan Lange <jml@mumak.net> | 2016-02-14 13:01:31 +0000 |
commit | cd286b23f23c2d79b60e1bb3686d7a17507595b8 (patch) | |
tree | 50bde093259efec14b17f273f7ce19428a12f5ff /NEWS | |
parent | 725bfa9595bca9f4cd69caa21cde2d5b7b39399a (diff) | |
download | testtools-cd286b23f23c2d79b60e1bb3686d7a17507595b8.tar.gz |
Better handling of KeyboardInterrupt
When we get a suspected KeyboardInterrupt (no result from Deferred),
explicitly stop the result and report the error as if it were a user
error.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -16,6 +16,12 @@ Improvements * Fixed example in ``failed`` docstring. (Jonathan Lange, Github #208) +* Rather than explicitly raising a ``KeyboardInterrupt`` if we get no result + from a ``Deferred``, we tell the test result to stop running tests and + report the lack of result as a test error. This ought to make weird + concurrency interaction bugs easier to understand. (Jonathan Lange) + + 2.0.0 ~~~~~ |