summaryrefslogtreecommitdiff
path: root/tests/extmod
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2023-03-08 14:10:02 +1100
committerDamien George <damien@micropython.org>2023-04-27 18:03:06 +1000
commitb1229efbd1509654dec6053865ab828d769e29db (patch)
treee1a65606dd1f0a8cfe2af08f9c4ff821fb575b02 /tests/extmod
parente160fe7bc64212a3ce56f5478f208e2b4d343a8b (diff)
all: Fix spelling mistakes based on codespell check.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/extmod')
-rw-r--r--tests/extmod/framebuf_palette.py2
-rw-r--r--tests/extmod/uctypes_sizeof_layout.py2
-rw-r--r--tests/extmod/utimeq1.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/extmod/framebuf_palette.py b/tests/extmod/framebuf_palette.py
index 84db834c1..f5b15fda7 100644
--- a/tests/extmod/framebuf_palette.py
+++ b/tests/extmod/framebuf_palette.py
@@ -30,6 +30,6 @@ fbd.blit(fbc, 0, 0, -1, palette)
print(fbd.pixel(0, 0) == fg)
print(fbd.pixel(7, 7) == fg)
-print(fbd.pixel(8, 8) == 0) # Ouside blit
+print(fbd.pixel(8, 8) == 0) # Outside blit
print(fbd.pixel(0, 1) == bg)
print(fbd.pixel(1, 0) == bg)
diff --git a/tests/extmod/uctypes_sizeof_layout.py b/tests/extmod/uctypes_sizeof_layout.py
index 2108e8150..c710ecde9 100644
--- a/tests/extmod/uctypes_sizeof_layout.py
+++ b/tests/extmod/uctypes_sizeof_layout.py
@@ -13,7 +13,7 @@ desc = {
# uctypes.NATIVE is default
print(uctypes.sizeof(desc) == uctypes.sizeof(desc, uctypes.NATIVE))
-# Here we assume that that we run on a platform with convential ABI
+# Here we assume that that we run on a platform with conventional ABI
# (which rounds up structure size based on max alignment). For platforms
# where that doesn't hold, this tests should be just disabled in the runner.
print(uctypes.sizeof(desc, uctypes.NATIVE) > uctypes.sizeof(desc, uctypes.LITTLE_ENDIAN))
diff --git a/tests/extmod/utimeq1.py b/tests/extmod/utimeq1.py
index ddbc969af..688e5b834 100644
--- a/tests/extmod/utimeq1.py
+++ b/tests/extmod/utimeq1.py
@@ -125,7 +125,7 @@ assert edge_case(MODULO_HALF - 1, -100) == diff
# We expect diff to be always positive, per the definition of heappop() which should return
# the smallest value.
-# This is the edge case where this invariant breaks, due to assymetry of two's-complement
+# This is the edge case where this invariant breaks, due to asymmetry of two's-complement
# range - there's one more negative integer than positive, so heappushing values like below
# will then make ticks_diff() return the minimum negative value. We could make heappop
# return them in a different order, but ticks_diff() result would be the same. Conclusion: