circuitpython/tests/extmod/json_dumps_float.py

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

9 lines
135 B
Python
Raw Permalink Normal View History

try:
import json
except ImportError:
print("SKIP")
raise SystemExit
print(json.dumps(1.2))
print(json.dumps({1.5: "hi"}))