From 9c0c611f2ba2fb1605c01f4eec5d8ed1af4cb6dd Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 20 Nov 2012 06:11:12 -0500 Subject: I prefer not having docstrings in test methods. --- test/test_html.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'test/test_html.py') 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: -- cgit v1.2.1