summaryrefslogtreecommitdiff
path: root/tests/basics/gc1.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/basics/gc1.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/basics/gc1.py')
-rw-r--r--tests/basics/gc1.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/basics/gc1.py b/tests/basics/gc1.py
index 332bf9744..dff9538b1 100644
--- a/tests/basics/gc1.py
+++ b/tests/basics/gc1.py
@@ -15,13 +15,13 @@ print(gc.isenabled())
gc.collect()
if hasattr(gc, 'mem_free'):
- # uPy has these extra functions
+ # MicroPython has these extra functions
# just test they execute and return an int
assert type(gc.mem_free()) is int
assert type(gc.mem_alloc()) is int
if hasattr(gc, 'threshold'):
- # uPy has this extra function
+ # MicroPython has this extra function
# check execution and returns
assert(gc.threshold(1) is None)
assert(gc.threshold() == 0)