bindings: python: tests: verify the errno field of OSError exceptions
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 14 Aug 2019 12:24:29 +0000 (14:24 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 14 Aug 2019 12:24:29 +0000 (14:24 +0200)
commitf5f4794647e1d99d92af625f89951e638995577c
treebff390b9811a399bfb4442761069a7d02a0b496e
parent262d3dd46cc3db0b9b586df017430d0a15848559
bindings: python: tests: verify the errno field of OSError exceptions

When a call is expected to raise the OSError exception, verify that its
errno field is set to the expected value.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
bindings/python/tests/gpiod_py_test.py