We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a239b90 commit eaee69dCopy full SHA for eaee69d
guardrails/cli/hub/install.py
@@ -50,7 +50,6 @@ def pip_process(
50
except Exception as e:
51
logger.debug(
52
f"json parse exception in decoding output from pip {action} {package}. Falling back to accumulating the byte stream", # noqa
53
- e,
54
)
55
accumulator = {}
56
for key, value in parsed.items():
tests/unit_tests/cli/hub/test_install.py
@@ -138,6 +138,7 @@ def parsebytes(self, *args):
138
debug_calls = [
139
call("running pip show pip"),
140
call("decoding output from pip show pip"),
141
+ call("json parse exception in decoding output from pip show pip. Falling back to accumulating the byte stream")
142
]
143
mock_logger_debug.assert_has_calls(debug_calls)
144
0 commit comments