87
87
# manually unlock the branch, preparing a LockNotHeld error.
89
89
# the branch *may* still be locked here, if its an all-in-one
91
92
self.assertRaises(errors.LockNotHeld, wt.unlock)
92
93
# but now, the tree must be unlocked
93
94
self.assertFalse(wt.is_locked())