Merge lp:~jml/lp-dev-utils/apply-top-tests-fixes into lp:lp-dev-utils

Proposed by Jonathan Lange
Status: Merged
Approved by: Graham Binns
Approved revision: 117
Merged at revision: 117
Proposed branch: lp:~jml/lp-dev-utils/apply-top-tests-fixes
Merge into: lp:lp-dev-utils
Diff against target: 35 lines (+6/-3)
1 file modified
top-tests.py (+6/-3)
To merge this branch: bzr merge lp:~jml/lp-dev-utils/apply-top-tests-fixes
Reviewer Review Type Date Requested Status
Graham Binns (community) code Approve
Review via email: mp+109665@code.launchpad.net

Description of the change

https://code.launchpad.net/~jml/launchpad/remove-top-tests/+merge/109664 removes top-tests.py from the Launchpad tree. It had hardly changed during its time there, but it had changed a little. Here are those changes.

To post a comment you must log in.
Revision history for this message
Graham Binns (gmb) :
review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'top-tests.py'
2--- top-tests.py 2012-01-16 14:53:13 +0000
3+++ top-tests.py 2012-06-11 15:37:18 +0000
4@@ -1,5 +1,7 @@
5 #!/usr/bin/python
6-# Copyright 2007 Canonical Ltd. All rights reserved.
7+#
8+# Copyright 2009-2012 Canonical Ltd. This software is licensed under the
9+# GNU Affero General Public License version 3 (see the file LICENSE).
10
11 """top-tests.py - Report about slowest tests in the test suite.
12
13@@ -9,11 +11,12 @@
14
15 __metaclass__ = type
16
17-import re
18 import operator
19 import os
20+import re
21 import sys
22
23+
24 LEN = 20
25
26 class ParseException(Exception):
27@@ -109,7 +112,7 @@
28 raise ParseException('End of file before end of test run.')
29
30 def handleStartTestRunner(self, line, ignored):
31- """Switch the the layer state."""
32+ """Switch the layer state."""
33
34 def handleLayerStart(self, line, match):
35 """Create a new stats container for the layer."""

Subscribers

People subscribed via source and target branches