micropython/tests/extmod/json_dumps_extra.py
Angus Gratton 3ec8b9a77c all: Replace legacy name with MicroPython and MPy as applicable.
With the aim of getting consistency, and removing the need to learn an
additional term, replace uses of uPy/uPython with MPy/MicroPython.

Rule of thumb was to use "MPy" abbreviation where "CPy" is used nearby, but
the full word MicroPython otherwise.

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2025-10-04 00:19:40 +10:00

10 lines
171 B
Python

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