PythonExtra/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
162 B
Python
Raw Permalink Normal View History

# test uPy ujson behaviour that's not valid in CPy
2017-02-14 23:56:22 +01:00
try:
import ujson
except ImportError:
print("SKIP")
raise SystemExit
print(ujson.dumps(b"1234"))