changeset 26499 | e72b62b154b0 |
parent 26498 | e8564e04382d |
child 28027 | 14033c5dd261 |
--- a/tests/test-lock.py Tue Oct 06 13:13:31 2015 -0700 +++ b/tests/test-lock.py Tue Oct 06 13:19:05 2015 -0700 @@ -260,7 +260,7 @@ state.assertacquirecalled(True) def tryinherit(): - with lock.inherit() as lockname: + with lock.inherit(): pass self.assertRaises(error.LockInheritanceContractViolation, tryinherit)