Rev 4642: Squelch test noise on test__gather_lsprof_in_benchmarks verbose mode. in http://bazaar.launchpad.net/~lifeless/bzr/test-speed
Robert Collins
robertc at robertcollins.net
Mon Aug 24 21:28:30 BST 2009
At http://bazaar.launchpad.net/~lifeless/bzr/test-speed
------------------------------------------------------------
revno: 4642
revision-id: robertc at robertcollins.net-20090824202825-dlt301yil857ksuc
parent: pqm at pqm.ubuntu.com-20090824182846-ac4l3skw47g0tzx0
committer: Robert Collins <robertc at robertcollins.net>
branch nick: test-speed
timestamp: Tue 2009-08-25 06:28:25 +1000
message:
Squelch test noise on test__gather_lsprof_in_benchmarks verbose mode.
=== modified file 'bzrlib/tests/test_selftest.py'
--- a/bzrlib/tests/test_selftest.py 2009-08-24 05:35:28 +0000
+++ b/bzrlib/tests/test_selftest.py 2009-08-24 20:28:25 +0000
@@ -1480,6 +1480,7 @@
self.assertEqual((time.sleep, (0.003,), {}), self._benchcalls[1][0])
self.assertIsInstance(self._benchcalls[0][1], bzrlib.lsprof.Stats)
self.assertIsInstance(self._benchcalls[1][1], bzrlib.lsprof.Stats)
+ del self._benchcalls[:]
def test_knownFailure(self):
"""Self.knownFailure() should raise a KnownFailure exception."""
More information about the bazaar-commits
mailing list