summaryrefslogtreecommitdiff
path: root/test
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
commitf0291520ba9031e2924cf38d4d2a5e021bd84032 (patch)
tree0fbfacc77dfdc15c36a7c325f8f9c3713f8858b0 /test
parent89fb0a0d6950daa63947154e4d2593b71a6e61a7 (diff)
downloadpython-coveragepy-f0291520ba9031e2924cf38d4d2a5e021bd84032.tar.gz
lint cleanup
Diffstat (limited to 'test')
-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 a20a9a2..c2c78be 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: