Skip to content

Commit 03492d6

Browse files
committed
Fixed huggingface_hub tests
1 parent 64ae2ef commit 03492d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integrations/huggingface_hub/test_huggingface_hub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def test_bad_chat_completion(sentry_init, capture_events):
135135
with pytest.raises(OverloadedError):
136136
client.text_generation(prompt="hello")
137137

138-
(event,) = events
138+
(event, _) = events
139139
assert event["level"] == "error"
140140

141141

0 commit comments

Comments
 (0)