Skip to content

Health paper: Intentionally failing cells #2

@vidartf

Description

@vidartf

I read / skimmed the health paper, and found it quite interesting. Having worked on nbval, I just wanted to share this point:

There is now a cell tag for hinting an expected failure of a cell, that is supported by both the notebook frontend and nbval: raises_exception. You could use this to either:

  • Not count an exception in a cell as a failure.
  • Count a lack of an exception as a failure.

There is some ambiguity about which way to interpret it. nbval uses its 'lax' flag to distinguish the two cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions