diff --git a/tests/http/testenv/curl.py b/tests/http/testenv/curl.py index d8e6a194e0..45fa899ad2 100644 --- a/tests/http/testenv/curl.py +++ b/tests/http/testenv/curl.py @@ -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):