circuitpython/tests/extmod/ujson_dumps_float.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
205 B
Python
Raw 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))
print(json.dumps({1.5: "hi"}))