diff options
Diffstat (limited to 'tests/extmod/json_dumps_extra.py')
| -rw-r--r-- | tests/extmod/json_dumps_extra.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/extmod/json_dumps_extra.py b/tests/extmod/json_dumps_extra.py new file mode 100644 index 000000000..9074416a9 --- /dev/null +++ b/tests/extmod/json_dumps_extra.py @@ -0,0 +1,9 @@ +# test uPy json behaviour that's not valid in CPy + +try: + import json +except ImportError: + print("SKIP") + raise SystemExit + +print(json.dumps(b"1234")) |
