From 204a5810414568ebe8a0c4b11462606f1c5062cf Mon Sep 17 00:00:00 2001 From: Jose Tiago Macara Coutinho Date: Sun, 7 Apr 2024 19:53:07 +0200 Subject: [PATCH] Fix lint --- tests/test_video.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_video.py b/tests/test_video.py index e4543ab..060f75e 100644 --- a/tests/test_video.py +++ b/tests/test_video.py @@ -7,7 +7,7 @@ import os import subprocess from contextlib import ExitStack, contextmanager -from errno import EINVAL +from errno import EINVAL, ENODATA from functools import cache from inspect import isgenerator from math import isclose @@ -348,7 +348,7 @@ def _(camera=hardware): def _(camera=hardware): device = Device(camera.filename) with device: - device.set_format(BufferType.VIDEO_CAPTURE, 7, 5, 'pRCC') + device.set_format(BufferType.VIDEO_CAPTURE, 7, 5, "pRCC") assert camera.ioctl_ioc == raw.IOC.S_FMT assert camera.ioctl_arg.fmt.pix.height == 5 assert camera.ioctl_arg.fmt.pix.width == 7