summaryrefslogtreecommitdiff
path: root/tests/basics/syntaxerror.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/syntaxerror.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/syntaxerror.py')
-rw-r--r--tests/basics/syntaxerror.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/basics/syntaxerror.py b/tests/basics/syntaxerror.py
index c0702cb24..7b6ef9b75 100644
--- a/tests/basics/syntaxerror.py
+++ b/tests/basics/syntaxerror.py
@@ -86,7 +86,7 @@ test_syntax("yield")
test_syntax("nonlocal a")
test_syntax("await 1")
-# error on uPy, warning on CPy
+# error on MPy, warning on CPy
#test_syntax("def f():\n a = 1\n global a")
# default except must be last
@@ -98,7 +98,7 @@ test_syntax("f(1=2)")
# non-keyword after keyword
test_syntax("f(a=1, 2)")
-# doesn't error on uPy but should
+# doesn't error on MPy but should
#test_syntax("f(1, i for i in i)")
# all elements of dict/set must be pairs or singles