~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

Cleanup warnings.filters after running selftest

Show diffs side-by-side

added added

removed removed

Lines of Context:
159
159
            "cannot be broken.",
160
160
            str(error))
161
161
 
162
 
    def test_lock_corrupt(self):
163
 
        error = errors.LockCorrupt("corruption info")
164
 
        self.assertEqualDiff("Lock is apparently held, but corrupted: "
165
 
            "corruption info\n"
166
 
            "Use 'bzr break-lock' to clear it",
167
 
            str(error))
168
 
 
169
162
    def test_knit_data_stream_incompatible(self):
170
163
        error = errors.KnitDataStreamIncompatible(
171
164
            'stream format', 'target format')