summaryrefslogtreecommitdiff
path: root/test/coveragetest.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2010-06-21 23:09:05 -0400
committerNed Batchelder <ned@nedbatchelder.com>2010-06-21 23:09:05 -0400
commit38d7d50b4815a4539829dee63fd79a617bf58f24 (patch)
tree14a7a4384e505fbb462f1fa3590bceaabb112fe6 /test/coveragetest.py
parent6fcedaecffc79a07bc62c11c5b0af7bd7c16ca2a (diff)
downloadpython-coveragepy-git-38d7d50b4815a4539829dee63fd79a617bf58f24.tar.gz
Re-vamp the tests for omit and include, and add source.
Diffstat (limited to 'test/coveragetest.py')
-rw-r--r--test/coveragetest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/coveragetest.py b/test/coveragetest.py
index 4dd87559..52fde87a 100644
--- a/test/coveragetest.py
+++ b/test/coveragetest.py
@@ -148,10 +148,10 @@ class CoverageTest(TestCase):
def import_local_file(self, modname):
"""Import a local file as a module.
-
+
Opens a file in the current directory named `modname`.py, imports it
as `modname`, and returns the module object.
-
+
"""
modfile = modname + '.py'
f = open(modfile, 'r')