diff options
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>") |