circuitpython/tests/extmod/ujson_dumps_float.py

11 lines
174 B
Python
Raw Permalink Normal View History

try:
import ujson as json
except ImportError:
2017-02-14 17:56:22 -05:00
try:
import json
except ImportError:
print("SKIP")
raise SystemExit
print(json.dumps(1.2))