Skip to content

Commit 8ce7a58

Browse files
cclaussdpgeorge
authored andcommitted
tests: Four typos in tests directory.
Found by codespell. Signed-off-by: Christian Clauss <[email protected]>
1 parent dc2fcfc commit 8ce7a58

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tests/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ target platform and run the appropriate set of tests for that platform. For exa
1313

1414
That will run tests on the `/dev/ttyACM0` serial port. You can also use shortcut
1515
device names like `a<n>` for `/dev/ttyACM<n>` and `c<n>` for `COM<n>`. Use
16-
`./run-tests.py --help` to see all of the device possibilites, and other options.
16+
`./run-tests.py --help` to see all of the device possibilities, and other options.
1717

1818
There are three kinds of tests:
1919

tests/extmod_hardware/machine_pwm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Test machine.PWM, frequncy and duty cycle (using machine.time_pulse_us).
1+
# Test machine.PWM, frequency and duty cycle (using machine.time_pulse_us).
22
#
33
# IMPORTANT: This test requires hardware connections: the PWM-output and pulse-input
44
# pins must be wired together (see the variable `pwm_pulse_pins`).

tests/ports/esp32/esp32_nvs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
nvs = NVS("mp-test")
66

7-
# test setting and gettin an integer kv
7+
# test setting and getting an integer kv
88
nvs.set_i32("key1", 1234)
99
print(nvs.get_i32("key1"))
1010
nvs.set_i32("key2", -503)

tests/run-tests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ def run_one_test(test_file):
848848
test_file_abspath = os.path.abspath(test_file).replace("\\", "/")
849849

850850
if args.filters:
851-
# Default verdict is the opposit of the first action
851+
# Default verdict is the opposite of the first action
852852
verdict = "include" if args.filters[0][0] == "exclude" else "exclude"
853853
for action, pat in args.filters:
854854
if pat.search(test_file):

0 commit comments

Comments
 (0)