summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/py/unittests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/py/unittests.py b/test/py/unittests.py
index 7dede33b..8c445bc9 100755
--- a/test/py/unittests.py
+++ b/test/py/unittests.py
@@ -7,7 +7,6 @@ from collections import defaultdict
import errno
import gc
import libcamera as libcam
-import os
import selectors
import time
import typing
@@ -278,7 +277,7 @@ class SimpleCaptureMethods(CameraTesterBase):
while running:
events = sel.select()
for key, _ in events:
- os.read(key.fd, 8)
+ cm.read_event()
ready_reqs = cm.get_ready_requests()