/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

  • Committer: John Arbash Meinel
  • Date: 2006-11-10 22:23:15 UTC
  • mfrom: (2129 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2131.
  • Revision ID: john@arbash-meinel.com-20061110222315-07f2336970e50698
[merge] bzr.dev 2129

Show diffs side-by-side

added added

removed removed

Lines of Context:
669
669
            a_callable(*args, **kwargs).
670
670
        """
671
671
        local_warnings = []
672
 
        def capture_warnings(msg, cls, stacklevel=None):
 
672
        def capture_warnings(msg, cls=None, stacklevel=None):
673
673
            # we've hooked into a deprecation specific callpath,
674
674
            # only deprecations should getting sent via it.
675
675
            self.assertEqual(cls, DeprecationWarning)