Commit 648abb1
committed
Remove unreachable defensive code to improve coverage
Removed the else branch handling when url is neither str nor URL,
as the type hint enforces url: URL | str. This was unreachable
defensive code that was causing a coverage gap.1 parent a55dc58 commit 648abb1
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | | - | |
135 | | - | |
136 | 134 | | |
137 | 135 | | |
138 | 136 | | |
| |||
0 commit comments