Skip to content

Commit 081c128

Browse files
pre-commit-ci[bot]dlqqq
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 66e6208 commit 081c128

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/jupyter-ai/jupyter_ai/tests/completions/test_handlers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ def __init__(self, **kwargs):
2626
if "responses" not in kwargs:
2727
kwargs["responses"] = ["Test response"]
2828
super().__init__(**kwargs)
29-
29+
3030
async def _acall(self, *args, **kwargs):
31-
if hasattr(self, 'raise_exc') and self.raise_exc:
31+
if hasattr(self, "raise_exc") and self.raise_exc:
3232
raise Exception("Test exception")
3333
else:
3434
return super()._call(*args, **kwargs)

0 commit comments

Comments
 (0)