Skip to content

Commit 4b55437

Browse files
committed
Ruff format
1 parent 09eac40 commit 4b55437

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

tests/mlmodel_openai/test_chat_completion_stream_error.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,6 @@ async def consumer():
715715
def test_chat_completion_stream_parsing_error(monkeypatch, set_trace_info):
716716
set_trace_info()
717717
with pytest.raises(openai.error.APIError):
718-
719718
generator = openai.ChatCompletion.create(
720719
model="gpt-3.5-turbo",
721720
messages=({"role": "user", "content": "Stream parsing error."},),

tests/mlmodel_openai/test_embeddings_error_v1.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,6 @@ def test_embeddings_invalid_request_error_invalid_model_async_with_token_count(
280280
):
281281
set_trace_info()
282282
with pytest.raises(openai.NotFoundError):
283-
284283
loop.run_until_complete(
285284
async_openai_client.embeddings.create(input="Model does not exist.", model="does-not-exist")
286285
)
@@ -592,7 +591,6 @@ def test_embeddings_invalid_request_error_invalid_model_async_with_token_count_w
592591
):
593592
set_trace_info()
594593
with pytest.raises(openai.NotFoundError):
595-
596594
loop.run_until_complete(
597595
async_openai_client.embeddings.with_raw_response.create(
598596
input="Model does not exist.", model="does-not-exist"

0 commit comments

Comments
 (0)