Repository navigation
Commit bd64a4b
committed
logging: drop an unreachable guard in the stale-snapshot test
The key is asserted present just above and nothing removes it while the
handler is alive, so the 'if key in cache' branch could never be False.
Codecov counted it as a partial branch; removing it makes the file's patch
coverage exact.1 parent 1b945ce commit bd64a4b
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1071 | 1071 | | |
1072 | 1072 | | |
1073 | 1073 | | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
1078 | 1079 | | |
1079 | 1080 | | |
1080 | 1081 | | |
| |||
0 commit comments