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.
2 parents 00f3c15 + b00caa8 commit f39e0a1Copy full SHA for f39e0a1
1 file changed
python-client/giskard/ml_worker/testing/registry/giskard_test.py
@@ -130,9 +130,8 @@ def execute(self) -> Result:
130
analytics.track("test:execute", {"test_name": self.meta.full_name})
131
132
# if params contains debug then we check if test_fn has debug argument
133
- if "debug" in self.params:
134
- if "debug" not in list(inspect.signature(self.test_fn).parameters.keys()):
135
- raise ValueError("This test does not support debugging mode at the moment.")
+ if "debug" in self.params and "debug" not in list(inspect.signature(self.test_fn).parameters.keys()):
+ self.params.pop("debug")
136
137
return self.test_fn(**self.params)
138
0 commit comments