Commit 3586524
Remove redundant isinstance check in timeout handling
The isinstance check for tuple[1] is always true when timeout is a tuple, as the requests library always provides numeric values. Removing this redundant check eliminates uncovered branch warnings during coverage analysis.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1778e87 commit 3586524
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
158 | 160 | | |
159 | 161 | | |
160 | 162 | | |
161 | | - | |
162 | 163 | | |
163 | | - | |
164 | | - | |
165 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
| |||
0 commit comments