Skip to content

Commit

Permalink
Remove nose import.
Browse files Browse the repository at this point in the history
We ahve not been using nose for years.
  • Loading branch information
Carreau committed Feb 27, 2025
1 parent 7a18189 commit 0fe050f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ def start_new_kernel(**kwargs):
Integrates with our output capturing for tests.
"""
kwargs["stderr"] = STDOUT
try:
import nose

kwargs["stdout"] = nose.iptest_stdstreams_fileno()
except (ImportError, AttributeError):
pass
return manager.start_new_kernel(startup_timeout=STARTUP_TIMEOUT, **kwargs)


Expand Down Expand Up @@ -173,12 +167,6 @@ def new_kernel(argv=None):
kernel_client: connected KernelClient instance
"""
kwargs = {"stderr": STDOUT}
try:
import nose

kwargs["stdout"] = nose.iptest_stdstreams_fileno()
except (ImportError, AttributeError):
pass
if argv is not None:
kwargs["extra_arguments"] = argv
return manager.run_kernel(**kwargs)
Expand Down

0 comments on commit 0fe050f

Please sign in to comment.