Skip to content

Commit

Permalink
remove not-very-useful test case
Browse files Browse the repository at this point in the history
  • Loading branch information
renxida committed Dec 2, 2024
1 parent 0caeb23 commit 74adaab
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -428,10 +428,3 @@ def test_reference_counting(trie_cache, ref_count):
print("\nCleaning up allocations...")
for alloc in allocations + fill_allocations:
alloc.release_pages()


@pytest.mark.parametrize("tokens_per_page", [0, -1, -100])
def test_invalid_init(page_pool, tokens_per_page):
"""Test validation in __init__"""
with pytest.raises(ValueError):
TriePagedAttentionCache(page_pool=page_pool, tokens_per_page=tokens_per_page)

0 comments on commit 74adaab

Please sign in to comment.