~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-19 09:19:47 UTC
  • mfrom: (5891.1.2 api-docs)
  • Revision ID: pqm@pqm.ubuntu.com-20110519091947-5u0csgddxucufsrm
(spiv) Update 'api-docs' make target to use pydoctor,
 and fix the formatting of many docstrings. (Andrew Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1316
1316
                length, len(obj_with_len), obj_with_len))
1317
1317
 
1318
1318
    def assertLogsError(self, exception_class, func, *args, **kwargs):
1319
 
        """Assert that func(*args, **kwargs) quietly logs a specific exception.
 
1319
        """Assert that `func(*args, **kwargs)` quietly logs a specific error.
1320
1320
        """
1321
1321
        captured = []
1322
1322
        orig_log_exception_quietly = trace.log_exception_quietly