~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_branch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-04-13 03:42:59 UTC
  • mfrom: (1658.1.5 bzr.mbp.integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060413034259-6466a758a88b4a94
(mbp) ftp push fix; Working_tree.set_inventory; test suite warnings

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
        self.assertIsDirectory('.bzr/branch', t)
72
72
        self.assertIsDirectory('.bzr/branch/lock', t)
73
73
        branch.lock_write()
74
 
        self.assertIsDirectory('.bzr/branch/lock/held', t)
 
74
        try:
 
75
            self.assertIsDirectory('.bzr/branch/lock/held', t)
 
76
        finally:
 
77
            branch.unlock()
75
78
 
76
79
 
77
80
class TestBranchEscaping(TestCaseWithTransport):