63
56
return self._other.lock_read()
64
57
raise TestPreventLocking('lock_read disabled')
67
60
self._sequence.append((self._other_id, 'lw', self._allow_write))
69
62
return self._other.lock_write()
70
63
raise TestPreventLocking('lock_write disabled')
74
66
self._sequence.append((self._other_id, 'ul', self._allow_unlock))