File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ def slow_request(
132132 if timeout is not None and timeout < simulated_slow_threshold :
133133 time .sleep (0.2 )
134134 raise requests .exceptions .Timeout
135- return original_request (* args , ** kwargs ) # type: ignore[arg-type]
135+ return original_request (* args , ** kwargs ) # type: ignore[arg-type] # pyright: ignore[reportArgumentType]
136136
137137 with (
138138 patch .object (
@@ -182,7 +182,7 @@ def slow_request(
182182 if timeout is not None and timeout < simulated_slow_threshold :
183183 time .sleep (0.2 )
184184 raise requests .exceptions .Timeout
185- return original_request (* args , ** kwargs ) # type: ignore[arg-type]
185+ return original_request (* args , ** kwargs ) # type: ignore[arg-type] # pyright: ignore[reportArgumentType]
186186
187187 with patch .object (
188188 target = requests ,
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ def slow_request(
162162 if timeout is not None and timeout < simulated_slow_threshold :
163163 time .sleep (0.2 )
164164 raise requests .exceptions .Timeout
165- return original_request (* args , ** kwargs ) # type: ignore[arg-type]
165+ return original_request (* args , ** kwargs ) # type: ignore[arg-type] # pyright: ignore[reportArgumentType]
166166
167167 with (
168168 patch .object (
@@ -205,7 +205,7 @@ def slow_request(
205205 if timeout is not None and timeout < simulated_slow_threshold :
206206 time .sleep (0.2 )
207207 raise requests .exceptions .Timeout
208- return original_request (* args , ** kwargs ) # type: ignore[arg-type]
208+ return original_request (* args , ** kwargs ) # type: ignore[arg-type] # pyright: ignore[reportArgumentType]
209209
210210 with patch .object (
211211 target = requests ,
You can’t perform that action at this time.
0 commit comments