micropython/tests/extmod/ujson_dumps_extra.py

11 lines
171 B
Python
Raw Normal View History

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