circuitpython/tests/extmod/ujson_dumps_extra.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
159 B
Python
Raw Normal View History

2023-08-22 11:15:46 -04:00
# test uPy json behaviour that's not valid in CPy
2017-02-14 17:56:22 -05:00
try:
2023-08-22 11:15:46 -04:00
import json
2017-02-14 17:56:22 -05:00
except ImportError:
print("SKIP")
raise SystemExit
2023-08-22 11:15:46 -04:00
print(json.dumps(b"1234"))