File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ def kernel_name(request):
7979 return request .param
8080
8181
82- @pytest .fixture
82+ @pytest .fixture ( scope = "module" )
8383async def subprocess_kernels_client (anyio_backend , tmp_path_factory , kernel_name : KernelName ):
8484 """Starts a kernel in a subprocess and returns an AsyncKernelCient that is connected to it.
8585
Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ class ExecuteContentType(TypedDict):
3535
3636def clear_kernel ():
3737 "Clear the kernel so it can be started fresh."
38- if kernel := Kernel ._instance :
38+ if kernel := Kernel ._instance : # pyright: ignore[reportPrivateUsage]
3939 kernel .stop ()
40- Kernel ._instance = None
40+ Kernel ._instance = None # pyright: ignore[reportPrivateUsage]
4141 AsyncInteractiveShell .clear_instance ()
4242 Caller .stop_all ()
4343
You can’t perform that action at this time.
0 commit comments