Closed rwe closed 1 year ago
Clearer than the previous pattern of catching AssertionError and then re-asserting False, and provides better stack traces.
AssertionError
False
This also improves a few of those tests to match on specific exception messages, since the exceptions are not currently typed in most cases.
Clearer than the previous pattern of catching
AssertionError
and then re-assertingFalse
, and provides better stack traces.This also improves a few of those tests to match on specific exception messages, since the exceptions are not currently typed in most cases.