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 bf0afa0 commit 0c61be4Copy full SHA for 0c61be4
nbclient/tests/test_client.py
@@ -492,7 +492,7 @@ def test_kernel_death(self):
492
km = executor.start_kernel_manager()
493
494
with patch.object(km, "is_alive") as alive_mock:
495
- alive_mock.return_value = False
+ alive_mock.return_value = make_async(False)
496
# Will be a RuntimeError or subclass DeadKernelError depending
497
# on if jupyter_client or nbconvert catches the dead client first
498
with pytest.raises(RuntimeError):
0 commit comments