diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-20 06:11:12 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-20 06:11:12 -0500 |
commit | 9c0c611f2ba2fb1605c01f4eec5d8ed1af4cb6dd (patch) | |
tree | da2b227e5da19b2033bb244bcc075cfe00334f73 /test/test_html.py | |
parent | 92ab0360299868dc2c4cf82a18e762c55d7b9882 (diff) | |
download | python-coveragepy-git-9c0c611f2ba2fb1605c01f4eec5d8ed1af4cb6dd.tar.gz |
I prefer not having docstrings in test methods.
Diffstat (limited to 'test/test_html.py')
-rw-r--r-- | test/test_html.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/test/test_html.py b/test/test_html.py index 9e07deb4..d33dd1f3 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: |