micropython/tests/extmod/json_dumps_extra.py

10 wiersze
159 B
Python

# test uPy json behaviour that's not valid in CPy
try:
import json
except ImportError:
print("SKIP")
raise SystemExit
print(json.dumps(b"1234"))