diff options
| author | David Lechner <[email protected]> | 2026-03-12 15:33:40 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-03-25 14:38:15 -0600 |
| commit | 908db6c647ce1cf265f0bafd98578ad903c16a04 (patch) | |
| tree | f7b4e4254d57f6944f1d4e893a9ab491ea00ec6e /test | |
| parent | b02b0a0c6cb1b977718d05182ac492f04c996561 (diff) | |
test/py: gpio: removing trailing semicolons
Remove trailing semicolons in test_gpio.py. Python does not require
them and they are considered improper style.
Signed-off-by: David Lechner <[email protected]>
Diffstat (limited to 'test')
| -rw-r--r-- | test/py/tests/test_gpio.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/py/tests/test_gpio.py b/test/py/tests/test_gpio.py index 2d4a708aa84..059b5141b0f 100644 --- a/test/py/tests/test_gpio.py +++ b/test/py/tests/test_gpio.py @@ -134,8 +134,8 @@ def test_gpio_set_generic(ubman): if not f: pytest.skip("gpio not configured") - gpio_pin_adr = f['gpio_op_pin']; - gpio_set_value = f['gpio_set_value']; + gpio_pin_adr = f['gpio_op_pin'] + gpio_set_value = f['gpio_set_value'] cmd = 'gpio set ' + gpio_pin_adr @@ -158,8 +158,8 @@ def test_gpio_clear_generic(ubman): if not f: pytest.skip("gpio not configured") - gpio_pin_adr = f['gpio_op_pin']; - gpio_clear_value = f['gpio_clear_value']; + gpio_pin_adr = f['gpio_op_pin'] + gpio_clear_value = f['gpio_clear_value'] cmd = 'gpio clear ' + gpio_pin_adr @@ -182,9 +182,9 @@ def test_gpio_toggle_generic(ubman): if not f: pytest.skip("gpio not configured") - gpio_pin_adr = f['gpio_op_pin']; - gpio_set_value = f['gpio_set_value']; - gpio_clear_value = f['gpio_clear_value']; + gpio_pin_adr = f['gpio_op_pin'] + gpio_set_value = f['gpio_set_value'] + gpio_clear_value = f['gpio_clear_value'] cmd = 'gpio set ' + gpio_pin_adr response = ubman.run_command(cmd) @@ -210,8 +210,8 @@ def test_gpio_input_generic(ubman): if not f: pytest.skip("gpio not configured") - gpio_pin_adr = f['gpio_ip_pin_clear']; - gpio_clear_value = f['gpio_clear_value']; + gpio_pin_adr = f['gpio_ip_pin_clear'] + gpio_clear_value = f['gpio_clear_value'] cmd = 'gpio input ' + gpio_pin_adr @@ -220,8 +220,8 @@ def test_gpio_input_generic(ubman): assert good_response in response - gpio_pin_adr = f['gpio_ip_pin_set']; - gpio_set_value = f['gpio_set_value']; + gpio_pin_adr = f['gpio_ip_pin_set'] + gpio_set_value = f['gpio_set_value'] cmd = 'gpio input ' + gpio_pin_adr |
