summaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2017-05-29 10:08:14 +0300
committerVille Skyttä <ville.skytta@iki.fi>2017-05-29 11:36:05 +0300
commitca16c3821053e5bf2b87aeb10007f73f31dc1eac (patch)
tree28b394ba7ef2e107c5fb3112c7ba97f01b6915f1 /tests
parente5e49bedcb0ed353ee22ba99078301d9ccd87dbf (diff)
downloadmicropython-ca16c3821053e5bf2b87aeb10007f73f31dc1eac.tar.gz
micropython-ca16c3821053e5bf2b87aeb10007f73f31dc1eac.zip
various: Spelling fixes
Diffstat (limited to 'tests')
-rw-r--r--tests/basics/namedtuple1.py2
-rw-r--r--tests/basics/try_reraise2.py2
-rw-r--r--tests/pyb/can.py2
-rw-r--r--tests/thread/stress_aes.py2
-rw-r--r--tests/wipy/uart.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/basics/namedtuple1.py b/tests/basics/namedtuple1.py
index 132dcf96b3..70372f7cab 100644
--- a/tests/basics/namedtuple1.py
+++ b/tests/basics/namedtuple1.py
@@ -76,7 +76,7 @@ T4 = namedtuple("TupTuple", ("foo", "bar"))
t = T4(1, 2)
print(t.foo, t.bar)
-# Try single string with comma field seperator
+# Try single string with comma field separator
# Not implemented so far
#T2 = namedtuple("TupComma", "foo,bar")
#t = T2(1, 2)
diff --git a/tests/basics/try_reraise2.py b/tests/basics/try_reraise2.py
index d9434397c2..5648d2467b 100644
--- a/tests/basics/try_reraise2.py
+++ b/tests/basics/try_reraise2.py
@@ -1,4 +1,4 @@
-# Reraise not the latest occured exception
+# Reraise not the latest occurred exception
def f():
try:
raise ValueError("val", 3)
diff --git a/tests/pyb/can.py b/tests/pyb/can.py
index 617eb7cccc..7f2d070ecb 100644
--- a/tests/pyb/can.py
+++ b/tests/pyb/can.py
@@ -158,7 +158,7 @@ print(can.recv(1))
del can
-# Testing asyncronous send
+# Testing asynchronous send
can = CAN(1, CAN.LOOPBACK)
can.setfilter(0, CAN.MASK16, 0, (0, 0, 0, 0))
diff --git a/tests/thread/stress_aes.py b/tests/thread/stress_aes.py
index ecc963c925..df75e616c6 100644
--- a/tests/thread/stress_aes.py
+++ b/tests/thread/stress_aes.py
@@ -8,7 +8,7 @@
#
# The AES code comes first (code originates from a C version authored by D.P.George)
# and then the test harness at the bottom. It can be tuned to be more/less
-# agressive by changing the amount of data to encrypt, the number of loops and
+# aggressive by changing the amount of data to encrypt, the number of loops and
# the number of threads.
#
# MIT license; Copyright (c) 2016 Damien P. George on behalf of Pycom Ltd
diff --git a/tests/wipy/uart.py b/tests/wipy/uart.py
index a3a1c14e88..8e794015de 100644
--- a/tests/wipy/uart.py
+++ b/tests/wipy/uart.py
@@ -95,7 +95,7 @@ print(uart1.read() == None)
print(uart1.write(b'123') == 3)
print(uart0.read() == b'123')
-# no pin assignemnt
+# no pin assignment
uart0 = UART(0, 1000000, pins=(None, None))
print(uart0.write(b'123456789') == 9)
print(uart1.read() == None)