I&#x27;ve hit this too, it would be really nice if AssertError didn&#x27;t inherit from Exception. There&#x27;s a whole Exception object hierarchy but it seems like none of the parents of Exception are actually useable for anything