Here's how I did it:
with self.assertRaises(AssertionError) as context: throw_an_assertion_here() self.assertTrue(isinstance(context.exception, AssertionError))