summaryrefslogtreecommitdiff
path: root/tests/extmod/json_dump_iobase.py
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2025-09-24 11:17:51 +1000
committerDamien George <damien@micropython.org>2025-10-04 00:19:40 +1000
commit3ec8b9a77c598104d5caf02e0b6e45d9f5d139dd (patch)
tree11307d99ad7642b45c5ac256c812aadfb46086f1 /tests/extmod/json_dump_iobase.py
parentfb2b638ba0837b188deb0386270973261eb41fc0 (diff)
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>
Diffstat (limited to 'tests/extmod/json_dump_iobase.py')
-rw-r--r--tests/extmod/json_dump_iobase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/extmod/json_dump_iobase.py b/tests/extmod/json_dump_iobase.py
index 94d317b87..81105e36d 100644
--- a/tests/extmod/json_dump_iobase.py
+++ b/tests/extmod/json_dump_iobase.py
@@ -18,7 +18,7 @@ class S(io.IOBase):
def write(self, buf):
if type(buf) == bytearray:
- # uPy passes a bytearray, CPython passes a str
+ # MicroPython passes a bytearray, CPython passes a str
buf = str(buf, "ascii")
self.buf += buf
return len(buf)