diff options
Diffstat (limited to 'tests/extmod/ujson_dumps_extra.py')
| -rw-r--r-- | tests/extmod/ujson_dumps_extra.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/extmod/ujson_dumps_extra.py b/tests/extmod/ujson_dumps_extra.py index 0e593c3e9..21a388c32 100644 --- a/tests/extmod/ujson_dumps_extra.py +++ b/tests/extmod/ujson_dumps_extra.py @@ -1,5 +1,9 @@ # test uPy ujson behaviour that's not valid in CPy -import ujson +try: + import ujson +except ImportError: + print("SKIP") + raise SystemExit print(ujson.dumps(b'1234')) |
