~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-04-23 11:11:22 UTC
  • mfrom: (5177.1.1 integration2)
  • Revision ID: pqm@pqm.ubuntu.com-20100423111122-a5zc2qm7v9qrcxmf
(vila, for gz) Manually assign docstrings to command objects,
        so that they work with python -OO

Show diffs side-by-side

added added

removed removed

Lines of Context:
670
670
 
671
671
 
672
672
class ErrorWithNoFormat(errors.BzrError):
673
 
    """This class has a docstring but no format string."""
 
673
    __doc__ = """This class has a docstring but no format string."""
674
674
 
675
675
 
676
676
class TestErrorFormatting(TestCase):