/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: Canonical.com Patch Queue Manager
  • Date: 2011-05-31 21:50:47 UTC
  • mfrom: (5743.13.15 config-editor-option)
  • Revision ID: pqm@pqm.ubuntu.com-20110531215047-sxah2raqyplbxwcw
(vila) Migrate 'editor' to the new config scheme. (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1546
1546
        not other callers that go direct to the warning module.
1547
1547
 
1548
1548
        To test that a deprecated method raises an error, do something like
1549
 
        this::
 
1549
        this (remember that both assertRaises and applyDeprecated delays *args
 
1550
        and **kwargs passing)::
1550
1551
 
1551
1552
            self.assertRaises(errors.ReservedId,
1552
1553
                self.applyDeprecated,