From aa7f66a9b585c698d697fef46a6b5581799f981b Mon Sep 17 00:00:00 2001 From: Harry Mellor <19981378+hmellor@users.noreply.github.com> Date: Mon, 2 Feb 2026 15:48:10 +0100 Subject: [PATCH] Remove incorrect test Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> --- tests/entrypoints/openai/test_tokenization.py | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/tests/entrypoints/openai/test_tokenization.py b/tests/entrypoints/openai/test_tokenization.py index 052f9fecc18d..3d3f99da67f9 100644 --- a/tests/entrypoints/openai/test_tokenization.py +++ b/tests/entrypoints/openai/test_tokenization.py @@ -301,26 +301,6 @@ async def test_tokenizer_info_schema(server: RemoteOpenAIServer): ) -@pytest.mark.asyncio -async def test_tokenizer_info_added_tokens_structure( - server: RemoteOpenAIServer, -): - """Test added_tokens_decoder structure if present.""" - response = requests.get(server.url_for("tokenizer_info")) - response.raise_for_status() - result = response.json() - added_tokens = result.get("added_tokens_decoder") - if added_tokens: - for token_id, token_info in added_tokens.items(): - assert isinstance(token_id, str), "Token IDs should be strings" - assert isinstance(token_info, dict), "Token info should be a dict" - assert "content" in token_info, "Token info should have content" - assert "special" in token_info, "Token info should have special flag" - assert isinstance(token_info["special"], bool), ( - "Special flag should be boolean" - ) - - @pytest.mark.asyncio async def test_tokenizer_info_consistency_with_tokenize( server: RemoteOpenAIServer,