circuitpython/tests/extmod/json_dumps_float.py

9 lines
135 B
Python

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