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 66e6208 commit 081c128Copy full SHA for 081c128
packages/jupyter-ai/jupyter_ai/tests/completions/test_handlers.py
@@ -26,9 +26,9 @@ def __init__(self, **kwargs):
26
if "responses" not in kwargs:
27
kwargs["responses"] = ["Test response"]
28
super().__init__(**kwargs)
29
-
+
30
async def _acall(self, *args, **kwargs):
31
- if hasattr(self, 'raise_exc') and self.raise_exc:
+ if hasattr(self, "raise_exc") and self.raise_exc:
32
raise Exception("Test exception")
33
else:
34
return super()._call(*args, **kwargs)
0 commit comments