File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -148,9 +148,7 @@ async def make_request(
148148 # The Vuforia API returns a 429 response with no JSON body.
149149 raise TooManyRequestsError (response = response )
150150
151- if (
152- response .status_code >= HTTPStatus .INTERNAL_SERVER_ERROR
153- ): # pragma: no cover
151+ if response .status_code >= HTTPStatus .INTERNAL_SERVER_ERROR :
154152 raise ServerError (response = response )
155153
156154 result_code = string_field (
@@ -343,7 +341,7 @@ async def wait_for_target_processed(
343341 return
344342
345343 elapsed_time = asyncio .get_event_loop ().time () - start_time
346- if elapsed_time > timeout_seconds : # pragma: no cover
344+ if elapsed_time > timeout_seconds :
347345 raise TargetProcessingTimeoutError
348346
349347 await asyncio .sleep (
Original file line number Diff line number Diff line change @@ -134,9 +134,7 @@ def make_request(
134134 # The Vuforia API returns a 429 response with no JSON body.
135135 raise TooManyRequestsError (response = response )
136136
137- if (
138- response .status_code >= HTTPStatus .INTERNAL_SERVER_ERROR
139- ): # pragma: no cover
137+ if response .status_code >= HTTPStatus .INTERNAL_SERVER_ERROR :
140138 raise ServerError (response = response )
141139
142140 result_code = string_field (
@@ -323,7 +321,7 @@ def wait_for_target_processed(
323321 return
324322
325323 elapsed_time = time .monotonic () - start_time
326- if elapsed_time > timeout_seconds : # pragma: no cover
324+ if elapsed_time > timeout_seconds :
327325 raise TargetProcessingTimeoutError
328326
329327 time .sleep (seconds_between_requests )
You can’t perform that action at this time.
0 commit comments