diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-21 22:00:22 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-21 22:00:22 -0500 |
commit | ebe72820b0a20bbba08e7e0b0fb02d47fa96f24b (patch) | |
tree | 9f2113b0483274f7f27458bb6ca452802901fdd6 /test/test_html.py | |
parent | 43cc4830ccc2ef54cd12e0fcc13561ffea025bb1 (diff) | |
download | python-coveragepy-git-ebe72820b0a20bbba08e7e0b0fb02d47fa96f24b.tar.gz |
Lint
Diffstat (limited to 'test/test_html.py')
-rw-r--r-- | test/test_html.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_html.py b/test/test_html.py index 7c42b8c7..29106562 100644 --- a/test/test_html.py +++ b/test/test_html.py @@ -230,7 +230,7 @@ class HtmlWithUnparsableFilesTest(CoverageTest): ) def test_dotpy_not_python_ignored(self): - self.make_file("innocuous.py", "a = 1") + self.make_file("innocuous.py", "a = 2") cov = coverage.coverage() cov.start() self.import_local_file("innocuous") @@ -246,7 +246,7 @@ class HtmlWithUnparsableFilesTest(CoverageTest): # Python. Since it wasn't .py, no error is reported. # Run an "html" file - self.make_file("innocuous.html", "a = 1") + self.make_file("innocuous.html", "a = 3") self.run_command("coverage run innocuous.html") # Before reporting, change it to be an HTML file. self.make_file("innocuous.html", "<h1>This isn't python at all!</h1>") |