micropython/tests/pyb
David Lechner 3dc324d3f1 tests: Format all Python code with black, except tests in basics subdir.
This adds the Python files in the tests/ directory to be formatted with
./tools/codeformat.py.  The basics/ subdirectory is excluded for now so we
aren't changing too much at once.

In a few places `# fmt: off`/`# fmt: on` was used where the code had
special formatting for readability or where the test was actually testing
the specific formatting.
2020-03-30 13:21:58 +11:00
..
accel.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
accel.py.exp tests: Add a suite of tests specifically for the pyboard. 2014-05-03 16:43:27 +01:00
adc.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
adc.py.exp tests/pyb: Refactor pyboard tests to work on PYBv1, PYBLITEv1 and PYBD. 2019-12-13 17:27:29 +11:00
adcall.py tests/pyb: Update tests to run correctly on PYBv1.0. 2018-05-02 15:25:37 +10:00
adcall.py.exp tests/pyb: Add test for pyb.ADCAll class. 2018-04-11 17:12:13 +10:00
board_pybv1x.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
board_pybv1x.py.exp tests/pyb: Refactor pyboard tests to work on PYBv1, PYBLITEv1 and PYBD. 2019-12-13 17:27:29 +11:00
can.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
can.py.exp tests/pyb: Refactor pyboard tests to work on PYBv1, PYBLITEv1 and PYBD. 2019-12-13 17:27:29 +11:00
can2.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
can2.py.exp tests/pyb: Refactor pyboard tests to work on PYBv1, PYBLITEv1 and PYBD. 2019-12-13 17:27:29 +11:00
dac.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
dac.py.exp tests/pyb: Update tests to run correctly on PYBv1.0. 2018-05-02 15:25:37 +10:00
extint.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
extint.py.exp tests/pyb: Refactor pyboard tests to work on PYBv1, PYBLITEv1 and PYBD. 2019-12-13 17:27:29 +11:00
i2c.py tests/pyb: Refactor pyboard tests to work on PYBv1, PYBLITEv1 and PYBD. 2019-12-13 17:27:29 +11:00
i2c.py.exp tests/pyb: Refactor pyboard tests to work on PYBv1, PYBLITEv1 and PYBD. 2019-12-13 17:27:29 +11:00
i2c_accel.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
i2c_accel.py.exp tests/pyb: Refactor pyboard tests to work on PYBv1, PYBLITEv1 and PYBD. 2019-12-13 17:27:29 +11:00
i2c_error.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
i2c_error.py.exp tests: For pyboard, add test for I2C error handling and recovery. 2016-01-30 00:06:04 +00:00
irq.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
irq.py.exp tests: Add test for pyb.disable_irq and pyb.enable_irq. 2014-08-25 18:44:10 +01:00
led.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
led.py.exp tests/pyb: Refactor pyboard tests to work on PYBv1, PYBLITEv1 and PYBD. 2019-12-13 17:27:29 +11:00
modstm.py tests/pyb: Add simple test for stm module on pyboard. 2016-02-10 17:06:07 +00:00
modstm.py.exp tests/pyb: Add simple test for stm module on pyboard. 2016-02-10 17:06:07 +00:00
modtime.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
modtime.py.exp lib: Fix some issues in timeutils 2015-05-21 23:31:50 +03:00
pin.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
pin.py.exp tests/pyb: Refactor pyboard tests to work on PYBv1, PYBLITEv1 and PYBD. 2019-12-13 17:27:29 +11:00
pyb1.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
pyb1.py.exp tests/pyb: Adjust tests so they can run on PYB and PYBLITE. 2017-02-06 13:50:34 +11:00
pyb_f405.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
pyb_f405.py.exp tests/pyb: Refactor pyboard tests to work on PYBv1, PYBLITEv1 and PYBD. 2019-12-13 17:27:29 +11:00
pyb_f411.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
pyb_f411.py.exp tests/pyb: Adjust tests so they can run on PYB and PYBLITE. 2017-02-06 13:50:34 +11:00
rtc.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
rtc.py.exp tests: In pyb RTC tests, check wakeup register values. 2015-10-09 23:06:05 +01:00
servo.py tests: Add a suite of tests specifically for the pyboard. 2014-05-03 16:43:27 +01:00
servo.py.exp tests: Add a suite of tests specifically for the pyboard. 2014-05-03 16:43:27 +01:00
spi.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
spi.py.exp tests/pyb: Refactor pyboard tests to work on PYBv1, PYBLITEv1 and PYBD. 2019-12-13 17:27:29 +11:00
switch.py tests, pyb: Add 'import pyb' when needed. 2014-05-04 12:40:51 +01:00
switch.py.exp tests: Add a suite of tests specifically for the pyboard. 2014-05-03 16:43:27 +01:00
timer.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
timer.py.exp stm32/timer: Fix Timer.freq() calc so mult doesn't overflow uint32_t. 2019-10-31 12:49:18 +11:00
timer_callback.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
timer_callback.py.exp tests: Make pyb/timer test check callback timing properly. 2015-03-20 23:50:33 +00:00
uart.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
uart.py.exp tests/pyb: Adjust UART and Timer tests to work on PYBD_SF6. 2019-12-20 16:42:38 +11:00