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