Skip to content

Commit afe0654

Browse files
committed
ruff
1 parent 08e2760 commit afe0654

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

_test_unstructured_client/unit/test_custom_hooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def mock_post(request):
169169
with pytest.raises(Exception):
170170
session.general.partition(request=req, retries=retries)
171171

172-
pattern = re.compile(f"Failed to process a request due to connection error .*? "
172+
pattern = re.compile("Failed to process a request due to connection error .*? "
173173
"Attempting retry number 1 after sleep.")
174174
assert bool(pattern.search(caplog.text))
175175

_test_unstructured_client/unit/test_request_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
get_base_url,
88
get_multipart_stream_fields,
99
)
10-
from unstructured_client.models import shared
1110

1211

1312
# make the above test using @pytest.mark.parametrize

0 commit comments

Comments
 (0)