From 0caa27c0cfcc4f6910cd9cf67e256e4e2f168769 Mon Sep 17 00:00:00 2001 From: Cefn Hoile Date: Mon, 19 Feb 2018 14:17:52 +0000 Subject: [PATCH] Terminate early while experimenting with testcases --- python/testing/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/testing/__init__.py b/python/testing/__init__.py index 61a5b13..03231da 100644 --- a/python/testing/__init__.py +++ b/python/testing/__init__.py @@ -93,4 +93,6 @@ def main(): if agnostic.implementation == "micropython": moduleNames.extend([ "testing.implementation.micropython.digitalio",]) + unittest.raiseException = True # terminates with stack information on userspace Exception + unittest.raiseBaseException = True # terminates with stack information on system Exception test_interactive(*moduleNames) \ No newline at end of file -- 2.49.0