diff options
Diffstat (limited to 'tests/extmod/ure_debug.py')
-rw-r--r-- | tests/extmod/ure_debug.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/extmod/ure_debug.py b/tests/extmod/ure_debug.py index cfb264bb6d..621fc8d50e 100644 --- a/tests/extmod/ure_debug.py +++ b/tests/extmod/ure_debug.py @@ -1,7 +1,8 @@ # test printing debugging info when compiling try: import ure -except ImportError: + ure.DEBUG +except (ImportError, AttributeError): print("SKIP") raise SystemExit |