/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

Rename assertDeprecated to callDeprecated

Show diffs side-by-side

added added

removed removed

Lines of Context:
577
577
            self.fail("%r is an instance of %s rather than %s" % (
578
578
                obj, obj.__class__, kls))
579
579
 
580
 
    def assertDeprecated(self, expected, callable, *args, **kwargs):
 
580
    def callDeprecated(self, expected, callable, *args, **kwargs):
581
581
        """Assert that a callable is deprecated in a particular way.
582
582
 
583
583
        :param expected: a list of the deprecation warnings expected, in order