Commit 53fd3eb
committed
fix: add pragma no cover for untestable/unreachable code
- dicttoxml_fast.py:32-35: ImportError block only runs when Rust
extension is not installed (untestable in CI with Rust available)
- cli.py:371: __main__ block (standard exclusion)
- dicttoxml.py:54: Unreachable code - ids list is always empty so
the else branch can never execute
Achieves 100% test coverage.1 parent 9564a83 commit 53fd3eb
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | | - | |
| 370 | + | |
371 | 371 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments