summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2011-05-31 23:18:23 -0400
committerNed Batchelder <ned@nedbatchelder.com>2011-05-31 23:18:23 -0400
commit9712533c72501df0161fcb7cd8219da21104e9d6 (patch)
tree8d859cfbc56d13e9b4071eb5b18a02c46ffc43bc /test
parent139497ac9cf495a13e9f3323db489bf56054f5d4 (diff)
downloadpython-coveragepy-git-9712533c72501df0161fcb7cd8219da21104e9d6.tar.gz
Remove a bunch of warnings from pylint.
Diffstat (limited to 'test')
-rw-r--r--test/coveragetest.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/coveragetest.py b/test/coveragetest.py
index c2276595..a94f5122 100644
--- a/test/coveragetest.py
+++ b/test/coveragetest.py
@@ -86,8 +86,11 @@ class CoverageTest(TestCase):
self.clean_modules()
def clean_modules(self):
- # Remove any new modules imported during the test run. This lets us
- # import the same source files for more than one test.
+ """Remove any new modules imported during the test run.
+
+ This lets us import the same source files for more than one test.
+
+ """
for m in [m for m in sys.modules if m not in self.old_modules]:
del sys.modules[m]