Commit 2a30116
committed
fix: remove pragma no cover from covered lines
ROOT CAUSE:
strict-no-cover check failed because pragma comments were on lines that ARE
covered by tests:
- __repr__ method is tested by test_depends_repr
- Defensive check at line 128 is covered by dependency tests
CHANGES:
- Removed # pragma: no cover from Depends.__repr__() method
- Removed # pragma: no cover from defensive if dep_name in deps check
IMPACT:
- Fixes strict-no-cover CI failure
- All code remains properly tested
- pragma comments only used where appropriate
Refs: #20811 parent ff70abb commit 2a30116
File tree
2 files changed
+2
-2
lines changed- src/mcp/server/mcpserver
- tools
- utilities
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments