From 9aad5c7608bb724975fe1ecaa41d28874baa7acb Mon Sep 17 00:00:00 2001 From: YoSTEALTH Date: Wed, 5 Jun 2024 14:45:43 -0600 Subject: [PATCH] test: fixed `index` typo --- test/queue/get_cqe_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/queue/get_cqe_test.py b/test/queue/get_cqe_test.py index e55ca7f..328c2a3 100644 --- a/test/queue/get_cqe_test.py +++ b/test/queue/get_cqe_test.py @@ -13,7 +13,7 @@ def test_for_each(ring, cqe): # >>> difference START cq_ready = 0 - for index in range(liburing.io_uring_for_each_cqe(ring, cqe)): + for i in range(liburing.io_uring_for_each_cqe(ring, cqe)): assert cqe[i].user_data == i+1 cq_ready += 1 # <<< difference END