diff --git a/tests/integrations/huggingface_hub/test_huggingface_hub.py b/tests/integrations/huggingface_hub/test_huggingface_hub.py index f43159d80e..ef936ed5db 100644 --- a/tests/integrations/huggingface_hub/test_huggingface_hub.py +++ b/tests/integrations/huggingface_hub/test_huggingface_hub.py @@ -135,7 +135,7 @@ def test_bad_chat_completion(sentry_init, capture_events): with pytest.raises(OverloadedError): client.text_generation(prompt="hello") - (event,) = events + (event, _) = events assert event["level"] == "error"