File: test_troubleshoot.py

package info (click to toggle)
jupyter-core 5.7.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 740 kB
  • sloc: python: 2,595; makefile: 175; sh: 77; javascript: 1
file content (10 lines) | stat: -rw-r--r-- 233 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
from __future__ import annotations

from jupyter_core.troubleshoot import main


def test_troubleshoot(capsys):
    """Smoke test the troubleshoot function"""
    main()
    out = capsys.readouterr().out
    assert "pip list" in out