Apply suggestions from code review of branch fast-stack

Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
This commit is contained in:
Julian Stirling 2025-06-27 16:40:18 +00:00
parent 9a92fd478a
commit 8002600fcf
2 changed files with 2 additions and 2 deletions

View file

@ -226,7 +226,7 @@ def test_retrieval_of_captures(start):
assert _get_capture_index_by_id(captures, buffer_id) == i
assert _get_capture_by_id(captures, buffer_id) is capture
# Check errors are raised when supplying ids that aren't int the list
# Check errors are raised when supplying ids that aren't in the list
with pytest.raises(ValueError):
_get_capture_index_by_id(captures, start - 1)
with pytest.raises(ValueError):