summaryrefslogtreecommitdiff
path: root/test/test_html.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-11-21 22:00:22 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-11-21 22:00:22 -0500
commit8b615a927f17fa4ebcc04c61e15b32e9e3e5c92d (patch)
tree7b918a2d3c844762a2981e89227d26d3cc8d09f9 /test/test_html.py
parent0c6f2f058fa24d3448ee80b2bd5166904dbfa402 (diff)
downloadpython-coveragepy-8b615a927f17fa4ebcc04c61e15b32e9e3e5c92d.tar.gz
Lint
Diffstat (limited to 'test/test_html.py')
-rw-r--r--test/test_html.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_html.py b/test/test_html.py
index 7c42b8c..2910656 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>")