~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_knit.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-26 08:47:44 UTC
  • mfrom: (5340.14.2 2.4-exc-info)
  • Revision ID: pqm@pqm.ubuntu.com-20110526084744-2bim0fu54g836qd2
(jameinel) Delete local 'exc_info' variables when they go out of scope,
 to avoid cycles with the exception tracebacks. (John A Meinel)

Show diffs side-by-side

added added

removed removed

Lines of Context:
444
444
        except _TestException, e:
445
445
            retry_exc = errors.RetryWithNewPacks(None, reload_occurred=False,
446
446
                                                 exc_info=sys.exc_info())
 
447
        # GZ 2010-08-10: Cycle with exc_info affects 3 tests
447
448
        return retry_exc
448
449
 
449
450
    def test_read_from_several_packs(self):