diff options
author | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2022-05-18 16:13:16 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-05-18 17:52:28 +0300 |
commit | 936864755521020618f12f9dfea78265a2e70ba4 (patch) | |
tree | e3549a918d9b60e6b63a9138f030174d3c565f9e /test/mapped-buffer.cpp | |
parent | e40fbdf855ce9790191fe7de8d3e7c20b33b79cf (diff) |
py: unittests: Fix selector fd use
pyright complains about passing fileobj to os.read. Indeed, the
parameter should be an int, but I guess fileobj gets automatically
converted. In any case, using the fd is better.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/mapped-buffer.cpp')
0 files changed, 0 insertions, 0 deletions