From 3be0cb3596a537a39311107734ad04ad7adbe550 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 16 Jul 2017 17:23:40 -0400 Subject: [PATCH] Prevent multiline string quotes from confusing Emacs. --- tests/coverage_dungeon.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/coverage_dungeon.py b/tests/coverage_dungeon.py index d530c82..e991bdd 100755 --- a/tests/coverage_dungeon.py +++ b/tests/coverage_dungeon.py @@ -19,40 +19,40 @@ DEFAULT_HTML_OUTPUT_PATH = "../coverage/adventure.yaml.html" STDOUT_REPORT_CATEGORY = " {name:.<19}: {percent:5.1f}% covered ({covered} of {total})\n" -HTML_SUMMARY_ROW = """ +HTML_SUMMARY_ROW = ''' {name}: {total} {covered} {percent:.1f}% -""" +''' -HTML_CATEGORY_SECTION = """ +HTML_CATEGORY_SECTION = ''' {rows}   -""" +''' -HTML_CATEGORY_HEADER = """ +HTML_CATEGORY_HEADER = ''' {label} {cells} -""" +''' HTML_CATEGORY_HEADER_CELL = '{}\n' HTML_CATEGORY_COVERAGE_CELL = ' \n' -HTML_CATEGORY_ROW = """ +HTML_CATEGORY_ROW = ''' {id} {cells} -""" +''' def search(needle, haystack): # Search for needle in haystack, first escaping needle for regex, then -- 2.31.1