Skip to content

Commit fc1b970

Browse files
committed
Fix [no-untyped-def] warning
1 parent 6e2411b commit fc1b970

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

nbclient/tests/test_client.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,14 @@ def test_start_new_kernel_history_file_setting():
510510

511511
def test_start_new_kernel_client_cleans_up_kernel_on_failure():
512512
class FakeClient(KernelClient):
513-
def start_channels(self, *args, **kwargs) -> None:
513+
def start_channels(
514+
self,
515+
shell: bool = True,
516+
iopub: bool = True,
517+
stdin: bool = True,
518+
hb: bool = True,
519+
control: bool = True
520+
) -> None:
514521
raise Exception("Any error")
515522

516523
def stop_channels(self) -> None:

0 commit comments

Comments
 (0)