~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_symbol_versioning.py

  • Committer: Patch Queue Manager
  • Date: 2015-12-17 18:39:00 UTC
  • mfrom: (6606.1.2 fix-float)
  • Revision ID: pqm@pqm.ubuntu.com-20151217183900-0719du2uv1kwu3lc
(vila) Inline testtools private method to fix an issue in xenial (the
 private implementation has changed in an backward incompatible way).
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
222
222
class TestSuppressAndActivate(TestCase):
223
223
 
224
224
    def setUp(self):
225
 
        TestCase.setUp(self)
 
225
        super(TestSuppressAndActivate, self).setUp()
226
226
        existing_filters = list(warnings.filters)
227
227
        def restore():
228
228
            warnings.filters[:] = existing_filters