~vila/bzr/failing-lock-tests

Viewing all changes in revision 4339.

  • Committer: Vincent Ladeuil
  • Date: 2009-05-12 08:07:37 UTC
  • Revision ID: v.ladeuil+lp@free.fr-20090512080737-itf02crgp0kxir0p
Fixed as per Robert's review.

* tests/__init__.py:
(TestCase._track_locks): Make unbalanced locks fatal.

* tests/test_selftest.py:
(TestTestCaseWithMemoryTransport.test_dangling_locks_cause_failures):
The failure is now unconditional.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: