summaryrefslogtreecommitdiff
path: root/test/py/unittests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/py/unittests.py')
-rwxr-xr-xtest/py/unittests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/py/unittests.py b/test/py/unittests.py
index cbc00ff3..9326358d 100755
--- a/test/py/unittests.py
+++ b/test/py/unittests.py
@@ -262,8 +262,8 @@ class SimpleCaptureMethods(CameraTesterBase):
running = True
while running:
events = sel.select()
- for key, mask in events:
- os.read(key.fileobj, 8)
+ for key, _ in events:
+ os.read(key.fd, 8)
ready_reqs = cm.get_ready_requests()