Skip to content

Commit

Permalink
test: fixed index typo
Browse files Browse the repository at this point in the history
  • Loading branch information
YoSTEALTH committed Jun 5, 2024
1 parent 574dff2 commit 9aad5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/queue/get_cqe_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9aad5c7

Please sign in to comment.