micropython/tests/extmod/ujson_dumps_float.py

11 lines
174 B
Python

try:
import ujson as json
except ImportError:
try:
import json
except ImportError:
print("SKIP")
raise SystemExit
print(json.dumps(1.2))