Skip to content

Commit 6fc6865

Browse files
committed
improvify
1 parent e57794c commit 6fc6865

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/integrations/huggingface_hub/test_huggingface_hub.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import itertools
2+
from unittest import mock
23

34
import pytest
45
from huggingface_hub import (
@@ -9,8 +10,6 @@
910
from sentry_sdk import start_transaction
1011
from sentry_sdk.integrations.huggingface_hub import HuggingfaceHubIntegration
1112

12-
from unittest import mock # python 3.3 and above
13-
1413

1514
def mock_client_post(client, post_mock):
1615
# huggingface-hub==0.28.0 deprecates the `post` method
@@ -116,7 +115,6 @@ def test_streaming_chat_completion(
116115
)
117116
)
118117
assert len(response) == 2
119-
print(response)
120118
if details_arg:
121119
assert response[0].token.text + response[1].token.text == "the model response"
122120
else:

0 commit comments

Comments
 (0)