bindings: python: tests: release the request before removing GPIO sim
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 15 Feb 2023 13:46:16 +0000 (14:46 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 15 Feb 2023 13:46:16 +0000 (14:46 +0100)
commit628f04490445bad627a42cc7617a2eb6468b0905
tree91277391b3aaa474fcb6ce1f82252b1e1096fa95
parent4ebf629e35d9f87d14a37bbcc3b6f40f7b49e825
bindings: python: tests: release the request before removing GPIO sim

One of the test cases doesn't release the request object leading to the
following warning in the kernel log:

REMOVING GPIOCHIP WITH GPIOS STILL REQUESTED

Fix it.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
bindings/python/tests/tests_line_request.py