/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

Change raise AssertionError to self.fail in the new applyDeprecated test support method.

Show diffs side-by-side

added added

removed removed

Lines of Context:
618
618
        expected_first_warning = symbol_versioning.deprecation_string(
619
619
            a_callable, deprecation_format)
620
620
        if len(call_warnings) == 0:
621
 
            raise AssertionError("No assertion generated by call to %s" %
 
621
            self.fail("No assertion generated by call to %s" %
622
622
                a_callable)
623
623
        self.assertEqual(expected_first_warning, call_warnings[0])
624
624
        return result