Commit 1af03f8
Use lax no cover for timing-dependent exception paths; fix ruff format
Change 5 pragma annotations from strict "no cover" to "lax no cover"
since these exception handlers may or may not fire depending on
cancellation timing. Fix ruff-format in test file.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2e0e00b commit 1af03f8
File tree
4 files changed
+8
-15
lines changed- src/mcp
- server
- tests/server
4 files changed
+8
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | | - | |
| 629 | + | |
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | 635 | | |
636 | | - | |
| 636 | + | |
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
| |||
816 | 816 | | |
817 | 817 | | |
818 | 818 | | |
819 | | - | |
| 819 | + | |
820 | 820 | | |
821 | 821 | | |
822 | 822 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
| 315 | + | |
| 316 | + | |
321 | 317 | | |
322 | 318 | | |
323 | 319 | | |
| |||
343 | 339 | | |
344 | 340 | | |
345 | 341 | | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
| 342 | + | |
350 | 343 | | |
351 | 344 | | |
352 | 345 | | |
| |||
0 commit comments