315
315
# This is essentially assertNotRaises(InconsistentDelta)
316
316
with ExpectedException(AssertionError,
317
317
'InconsistentDelta not raised'):
318
321
with ExpectedException(errors.InconsistentDelta, ''):
319
322
self.shelve_all(tree1, rev2)