2 posts tagged with "mark"

    asserting errors in pytest

    2021-07-25

     | 

    ~6 min read

     | 

    1053 words

    Imagine a function that, under certain conditions expects to throw an error. How might we test that with Pytest? Pytest offers two…

    asserting errors in pytest

    2021-07-25

     | 

    ~6 min read

     | 

    1053 words

    Imagine a function that, under certain conditions expects to throw an error. How might we test that with Pytest? Pytest offers two…

Return to all tags