Commit 7146a8f
Add pragma no cover to redis connection retry in conftest (#264)
The `except ConnectionError` in `_wait_for_redis` is a timing-dependent
branch that's essentially impossible to reliably hit in tests - it fires
when Redis hasn't started yet during container spinup. Marking it with
`pragma: no cover` to avoid flaky coverage.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 1323b1b commit 7146a8f
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
62 | | - | |
| 61 | + | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
| |||
0 commit comments