def test_expect_with_block_to_raise_assertion_error_if_block_does_not_raise_error(self):
     with self.assertRaises(AssertionError):
         with expect.to_raise_error(IndexError):
             pass
 def test_expect_with_block_to_raise_error(self):
     with expect.to_raise_error(IndexError):
         raise IndexError()