When the function passed to expectedFailure did not raise an assertion, bzr used to do:
self.fail('Unexpected success. Should have failed: %s' % reason)
With testtools, bazaar now treats that as a success, as jam noted in February: <https://lists.ubuntu.com/archives/bazaar/2010q1/066898.html>
And in September he pointed out the same thing, but with subunit: <https://lists.ubuntu.com/archives/bazaar/2010q3/070192.html>
When the function passed to expectedFailure did not raise an assertion, bzr used to do:
self. fail('Unexpecte d success. Should have failed: %s' % reason)
With testtools, bazaar now treats that as a success, as jam noted in February: /lists. ubuntu. com/archives/ bazaar/ 2010q1/ 066898. html>
<https:/
And in September he pointed out the same thing, but with subunit: /lists. ubuntu. com/archives/ bazaar/ 2010q3/ 070192. html>
<https:/