Skip to content

Commit 63c0426

Browse files
committed
Fix linting issues in test files
- Fix line length in test_openai_models.py - Remove unresolved merge conflict markers in test_oci_data_science.py
1 parent 42c2358 commit 63c0426

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

libs/oci/tests/integration_tests/chat_models/test_openai_models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
3333
Run specific test:
3434
```bash
35-
pytest tests/integration_tests/chat_models/test_openai_models.py::test_openai_basic_completion -v
35+
pytest tests/integration_tests/chat_models/test_openai_models.py \
36+
::test_openai_basic_completion -v
3637
```
3738
"""
3839

libs/oci/tests/unit_tests/chat_models/test_oci_data_science.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,7 @@ def test_stream_vllm(*args: Any) -> None:
152152
if output is None:
153153
output = chunk
154154
else:
155-
<<<<<<< HEAD
156-
output = output + chunk
157-
=======
158155
output += chunk
159-
>>>>>>> bb7ac7f (Fix mypy type errors for LangChain 1.x compatibility)
160156
count += 1
161157
# LangChain 1.x adds a final chunk with chunk_position='last', so we get 6 chunks
162158
assert count >= 5

0 commit comments

Comments
 (0)