circuitpython/tests/extmod/ujson_dumps_extra.py

10 lines
162 B
Python
Raw Normal View History

# test uPy ujson behaviour that's not valid in CPy
2017-02-15 01:56:22 +03:00
try:
import ujson
except ImportError:
print("SKIP")
raise SystemExit
2021-03-15 19:27:36 +05:30
print(ujson.dumps(b"1234"))