File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -204,6 +204,7 @@ jobs:
204
204
enable-cache : true
205
205
206
206
- run : uv sync --package pydantic-ai-slim --only-dev
207
+ - run : rm coverage/.coverage.*-py3.9-* # Exclude 3.9 coverage as it gets the wrong line numbers, causing invalid failures.
207
208
- run : uv run coverage combine coverage
208
209
209
210
- run : uv run coverage html --show-contexts --title "PydanticAI coverage for ${{ github.sha }}"
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ def test_model_request_stream_sync_without_context_manager():
143
143
144
144
with pytest .raises (RuntimeError , match = expected_error_msg ):
145
145
for _ in stream_cm :
146
- break
146
+ break # pragma: no cover
147
147
148
148
149
149
def test_model_request_stream_sync_exception_in_stream ():
You can’t perform that action at this time.
0 commit comments