summaryrefslogtreecommitdiff
path: root/tests/test_html.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_html.py')
-rw-r--r--tests/test_html.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_html.py b/tests/test_html.py
index 98e7b0b3..7f2954c8 100644
--- a/tests/test_html.py
+++ b/tests/test_html.py
@@ -958,7 +958,7 @@ assert len(math) == 18
a = 4
""")
- self.make_file("extra.css", "/* Doesn't matter what goes in here, it gets copied. */")
+ self.make_file("extra.css", "/* Doesn't matter what goes in here, it gets copied. */\n")
cov = coverage.Coverage()
cov.start()
@@ -967,7 +967,7 @@ assert len(math) == 18
cov.html_report(a, directory="out", extra_css="extra.css")
compare_html(gold_path("html/gold_styled"), "out")
- compare(gold_path("html/gold_styled"), "out", size_within=10, file_pattern="*.css")
+ compare(gold_path("html/gold_styled"), "out", file_pattern="*.css")
contains(
"out/a_py.html",
'<link rel="stylesheet" href="extra.css" type="text/css">',