AnswerDotAI / AnswerDotAI/nbdev

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

Aperta
#884 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Jupyter Notebook
Stelle
5.3k
Fork
513
Merge medio
2g 30m
PR unite (30g)
8

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
jupyter-notebook, python
Ambito
testing
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.