summaryrefslogtreecommitdiff
path: root/test/test_farm.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-09-26 09:50:40 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-09-26 09:50:40 -0400
commit88bb798a68c1d16a34c4091f1a07d594b5c3c037 (patch)
tree7f39c7c1fb1f3cb125eed6178f446cf0a5ec7e23 /test/test_farm.py
parent48075edf4de2020b23ef6f32fc8f523b48abb93b (diff)
downloadpython-coveragepy-git-88bb798a68c1d16a34c4091f1a07d594b5c3c037.tar.gz
lint cleanup
Diffstat (limited to 'test/test_farm.py')
-rw-r--r--test/test_farm.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_farm.py b/test/test_farm.py
index a20a9a2d..c2c78be6 100644
--- a/test/test_farm.py
+++ b/test/test_farm.py
@@ -237,6 +237,12 @@ class FarmTestCase(object):
assert not right_only, "Files in %s only: %s" % (dir2, right_only)
def _scrub(self, strlist, scrubs):
+ """Scrub uninteresting data from the strings in `strlist`.
+
+ `scrubs is a list of (find, replace) pairs of regexes that are used on
+ each string in `strlist`. A list of scrubbed strings is returned.
+
+ """
scrubbed = []
for s in strlist:
for rgx_find, rgx_replace in scrubs: