Commit 305fab9
fix: use a real Message for HTTPError hdrs in dependency-failure test
mypy typed hdrs as email.message.Message, so passing None failed the
type check. Pass an empty Message() instead; the value is irrelevant
since the tested code only stringifies the error.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent cc115d6 commit 305fab9
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
622 | 623 | | |
623 | 624 | | |
624 | 625 | | |
625 | | - | |
| 626 | + | |
626 | 627 | | |
627 | 628 | | |
628 | 629 | | |
| |||
0 commit comments