diff options
Diffstat (limited to 'tests/extmod/ujson_dumps.py')
| -rw-r--r-- | tests/extmod/ujson_dumps.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/extmod/ujson_dumps.py b/tests/extmod/ujson_dumps.py index c0ee60d73..d73271801 100644 --- a/tests/extmod/ujson_dumps.py +++ b/tests/extmod/ujson_dumps.py @@ -1,7 +1,11 @@ try: import ujson as json except ImportError: - import json + try: + import json + except ImportError: + print("SKIP") + raise SystemExit print(json.dumps(False)) print(json.dumps(True)) |
