Test-suite: Unify string quoting in the Python sources

This commit is contained in:
Dmitry D. Chernov 2019-07-14 12:58:21 +10:00
commit fa5f519bf9
23 changed files with 146 additions and 146 deletions

View file

@ -1,10 +1,10 @@
def check(got, expected, expected_builtin=None):
if got is None: # Absence of comment is equivalent to empty comment.
got = ''
got = ""
if got != expected:
import re
p = re.compile(r'^[+-]([^+-].*\S)?(\s+)$', re.M)
p = re.compile(r"^[+-]([^+-].*\S)?(\s+)$", re.M)
def make_trailing_spaces_visible(str):
def replace_trailing_spaces(match):