Skip to content

Commit 794a760

Browse files
Carreauianthomas23
authored andcommitted
Remove nose import. (ipython#1368)
1 parent 2aa8279 commit 794a760

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

tests/utils.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ def start_new_kernel(**kwargs):
2828
Integrates with our output capturing for tests.
2929
"""
3030
kwargs["stderr"] = STDOUT
31-
try:
32-
import nose
33-
34-
kwargs["stdout"] = nose.iptest_stdstreams_fileno()
35-
except (ImportError, AttributeError):
36-
pass
3731
return manager.start_new_kernel(startup_timeout=STARTUP_TIMEOUT, **kwargs)
3832

3933

@@ -150,12 +144,6 @@ def new_kernel(argv=None):
150144
kernel_client: connected KernelClient instance
151145
"""
152146
kwargs = {"stderr": STDOUT}
153-
try:
154-
import nose
155-
156-
kwargs["stdout"] = nose.iptest_stdstreams_fileno()
157-
except (ImportError, AttributeError):
158-
pass
159147
if argv is not None:
160148
kwargs["extra_arguments"] = argv
161149
return manager.run_kernel(**kwargs)

0 commit comments

Comments
 (0)