micropython/tests/extmod/ujson_dumps_float.py

12 lines
187 B
Python
Raw Normal View History

try:
import ujson as json
except ImportError:
2017-02-14 22:56:22 +00:00
try:
import json
except ImportError:
import sys
print("SKIP")
sys.exit()
print(json.dumps(1.2))