I wanted to do some quick tests to make sure gpios were working without having to dig out a schematic. Which means I didn't want to set any GPIO as an output first without checking. So the main point here is the last patch which allows gpio_op_pin to be optional and skip the test instead of failing with exception. This works similar to several other config options that are already optional in this module.
I also noticed a few easy things to clean up while I was looking at the file, so there are a couple of extra patches for that. Signed-off-by: David Lechner <[email protected]> --- David Lechner (3): test/py: gpio: remove unused imports test/py: gpio: removing trailing semicolons test/py: gpio: allow omitting gpio_op_pin test/py/tests/test_gpio.py | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) --- base-commit: 8bc2a5196c1c0bb5dbdaca073323da0015a0de37 change-id: 20260312-test-gpio-cleanup-c3e54e3dc26d Best regards, -- David Lechner <[email protected]>

