summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-11-20 06:11:12 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-11-20 06:11:12 -0500
commit03e8076f60c556ee328ee22ef936dd587a05d437 (patch)
treed317e5b40c8b988840b2d59bb8c9c84dd1a46548
parentee34bf8ae9088cf82eba89ed075811980ef7e1d1 (diff)
downloadpython-coveragepy-03e8076f60c556ee328ee22ef936dd587a05d437.tar.gz
I prefer not having docstrings in test methods.
-rw-r--r--test/test_html.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/test_html.py b/test/test_html.py
index 9e07deb..d33dd1f 100644
--- a/test/test_html.py
+++ b/test/test_html.py
@@ -254,13 +254,9 @@ class HtmlWithUnparsableFilesTest(CoverageTest):
self.assertEqual(output.strip(), "No data to report.")
def test_execed_liar_ignored(self):
- """
- Jinja2 sets __file__ to be a non-Python file, and then execs code.
-
- If that file contains non-Python code, a TokenError shouldn't
- have been raised when writing the HTML report.
-
- """
+ # Jinja2 sets __file__ to be a non-Python file, and then execs code.
+ # If that file contains non-Python code, a TokenError shouldn't
+ # have been raised when writing the HTML report.
if sys.version_info < (3, 0):
source = "exec compile('','','exec') in {'__file__': 'liar.html'}"
else: