File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed
Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change 7474 - id : rst-inline-touching-normal
7575
7676 - repo : https://github.com/astral-sh/ruff-pre-commit
77- rev : v0.9.7
77+ rev : v0.9.9
7878 hooks :
7979 - id : ruff
8080 types_or : [python, jupyter]
Original file line number Diff line number Diff line change @@ -29,12 +29,6 @@ def start_new_kernel(**kwargs):
2929 Integrates with our output capturing for tests.
3030 """
3131 kwargs ["stderr" ] = STDOUT
32- try :
33- import nose
34-
35- kwargs ["stdout" ] = nose .iptest_stdstreams_fileno ()
36- except (ImportError , AttributeError ):
37- pass
3832 return manager .start_new_kernel (startup_timeout = STARTUP_TIMEOUT , ** kwargs )
3933
4034
@@ -173,12 +167,6 @@ def new_kernel(argv=None):
173167 kernel_client: connected KernelClient instance
174168 """
175169 kwargs = {"stderr" : STDOUT }
176- try :
177- import nose
178-
179- kwargs ["stdout" ] = nose .iptest_stdstreams_fileno ()
180- except (ImportError , AttributeError ):
181- pass
182170 if argv is not None :
183171 kwargs ["extra_arguments" ] = argv
184172 return manager .run_kernel (** kwargs )
You can’t perform that action at this time.
0 commit comments