Rev 4316: Review feedback - add a comment. in http://people.ubuntu.com/~robertc/baz2.0/pending/tests.lock-checks
Robert Collins
robertc at robertcollins.net
Fri May 1 02:18:25 BST 2009
At http://people.ubuntu.com/~robertc/baz2.0/pending/tests.lock-checks
------------------------------------------------------------
revno: 4316
revision-id: robertc at robertcollins.net-20090501011803-hirv7ms95xrhwk26
parent: robertc at robertcollins.net-20090430061630-fj6xih0prt4cw3s8
committer: Robert Collins <robertc at robertcollins.net>
branch nick: tests.lock-checks
timestamp: Fri 2009-05-01 11:18:03 +1000
message:
Review feedback - add a comment.
=== modified file 'bzrlib/tests/__init__.py'
--- a/bzrlib/tests/__init__.py 2009-04-30 06:16:30 +0000
+++ b/bzrlib/tests/__init__.py 2009-05-01 01:18:03 +0000
@@ -799,6 +799,7 @@
self._benchcalls = []
self._benchtime = None
self._clear_hooks()
+ # Track locks - needs to be called before _clear_debug_flags.
self._track_locks()
self._clear_debug_flags()
TestCase._active_threads = threading.activeCount()
More information about the bazaar-commits
mailing list