AnswerDotAI / AnswerDotAI/nbdev

Show `stderr` if it exists in cell outputs for failed tests

Offen
#884 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Jupyter Notebook
Sterne
5.3k
Forks
513
Ø Merge
2 T. 30 Min.
Gemergte PRs (30 T.)
8

Beschreibung

Currently, if a cell with the `%%sh` magic fails, `nbdev_test` shows only the raised error but no what was printed to `stderr`. I haven't double-checked, but I think both `stdout` and `stderr` should exist in the cell outputs.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by reading the `nbdev_test` entry point and how it handles failed cells run with the `%%sh` magic. Check what cell outputs contain for `stdout` and `stderr`; done when failed-test output includes available `stderr` alongside the raised error.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
jupyter-notebook, python
Bereich
testing
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.