Skip to content

Need to implement assert_raises #141

Description

@acbart

Apparently, we never actually implemented an assert_raises function to match assertRaises (which has a few other forms, including one that let's you check the message against a regex).

This shouldn't be too hard, from my experimentation. We no longer need a control structure, which is nice. We already handle catching the exception, we should just need to actually CHECK that the exception is present. Then, we can muted it or otherwise suppress its negative runtime feedback.

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