Commit 7daf24e
requests 2.33.0 added type annotations to its public functions, causing
inspect.signature() comparisons to fail since nailgun's wrappers don't
replicate those annotations. Strip annotations from both sides before
comparing so the test validates parameter names/kinds/defaults only.
(cherry picked from commit cbfb67f)
Co-authored-by: Vladimir Sedmik <46570670+vsedmik@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 759d59e commit 7daf24e
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
133 | 140 | | |
134 | 141 | | |
135 | | - | |
136 | | - | |
| 142 | + | |
| 143 | + | |
137 | 144 | | |
0 commit comments