From: Cefn Hoile Date: Mon, 19 Feb 2018 14:17:52 +0000 (+0000) Subject: Terminate early while experimenting with testcases X-Git-Tag: 0.1.0~4^2~77 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/0caa27c0cfcc4f6910cd9cf67e256e4e2f168769 Terminate early while experimenting with testcases --- 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