mirror of
https://github.com/curl/curl.git
synced 2026-06-14 15:45:36 +03:00
pytest: add comment to empty except branch
To silence GitHub CodeQL.
Follow-up to 4aa8cc3c4a #21924
This commit is contained in:
parent
bbb226b226
commit
9dcc57b801
1 changed files with 1 additions and 0 deletions
|
|
@ -288,6 +288,7 @@ class ExecResult:
|
|||
out = ''.join(self._stdout)
|
||||
self._json_out = json.loads(out)
|
||||
except (json.JSONDecodeError, TypeError, ValueError):
|
||||
# stdout not guaranteed to be JSON, keep _json_out as None
|
||||
pass
|
||||
|
||||
def __repr__(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue