circuitpython/tests/extmod/ujson_dumps_extra.py
2017-02-15 01:56:22 +03:00

11 lines
171 B
Python

# test uPy ujson behaviour that's not valid in CPy
try:
import ujson
except ImportError:
import sys
print("SKIP")
sys.exit()
print(ujson.dumps(b'1234'))