Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit484022f

Browse files
authored
chore: disable python 3.9 coverage (#2178)
1 parenta5f4b11 commit484022f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

‎.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ jobs:
204204
enable-cache:true
205205

206206
-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.
207208
-run:uv run coverage combine coverage
208209

209210
-run:uv run coverage html --show-contexts --title "PydanticAI coverage for ${{ github.sha }}"

‎tests/test_direct.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def test_model_request_stream_sync_without_context_manager():
143143

144144
withpytest.raises(RuntimeError,match=expected_error_msg):
145145
for_instream_cm:
146-
break
146+
break# pragma: no cover
147147

148148

149149
deftest_model_request_stream_sync_exception_in_stream():

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp