# HG changeset patch # User Gregory Szorc # Date 2019-02-04 22:14:25 # Node ID 033a0f4b4a5fd8e132ce6c0c310fbafdb52bce8b # Parent 7295279b9ea523dac7049dc246205c4963ef4f56 tests: use raw strings in test-help.t This avoids SyntaxWarning on Python 3.8 due to invalid \ escapes. Differential Revision: https://phab.mercurial-scm.org/D5841 diff --git a/tests/test-help.t b/tests/test-help.t --- a/tests/test-help.t +++ b/tests/test-help.t @@ -1674,7 +1674,7 @@ Test unfound keyword Test omit indicating for help $ cat > addverboseitems.py < '''extension to test omit indicating. + > r'''extension to test omit indicating. > > This paragraph is never omitted (for extension) > @@ -1687,7 +1687,7 @@ Test omit indicating for help > ''' > from __future__ import absolute_import > from mercurial import commands, help - > testtopic = b"""This paragraph is never omitted (for topic). + > testtopic = br"""This paragraph is never omitted (for topic). > > .. container:: verbose >