From bcfe8c1eb5fa403cdffbf79a471da0647d283500 Mon Sep 17 00:00:00 2001 From: Julian Stirling Date: Tue, 29 Jul 2025 15:17:45 +0000 Subject: [PATCH] Apply suggestions from code review of branch Camera-tweaks Co-authored-by: Beth Probert --- hardware-specific-tests/picamera2/test_exposure_time_drift.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hardware-specific-tests/picamera2/test_exposure_time_drift.py b/hardware-specific-tests/picamera2/test_exposure_time_drift.py index dd02c066..89aeded2 100644 --- a/hardware-specific-tests/picamera2/test_exposure_time_drift.py +++ b/hardware-specific-tests/picamera2/test_exposure_time_drift.py @@ -27,7 +27,7 @@ logging.basicConfig(level=logging.DEBUG) EXPOSURE_TOL = 30 -def _test_exposure_time_drift(desired_time): +def _test_exposure_time_drift(desired_time: int) -> None: """Capture 10 full res images and check that the exposure time remains constant. This confirms that automatic exposure time adjustment is fully turned off during @@ -78,7 +78,7 @@ def test_exposure_time_drift(): def test_exposure_time_on_start_and_stop_stream(): - """Start and stop stream in the same way a scan does and check exposere doesn't drift. + """Start and stop stream in the same way a scan does and check exposure doesn't drift. Take images using capture_to_memory() just as a scan would. """