Mercurial > public > mercurial-scm > hg
diff tests/test-help.t @ 41551:033a0f4b4a5f
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
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 04 Feb 2019 14:14:25 -0800 |
parents | 13a6dd952ffe |
children | 9897e95b0b4a |
line wrap: on
line diff
--- a/tests/test-help.t Mon Feb 04 14:10:10 2019 -0800 +++ b/tests/test-help.t Mon Feb 04 14:14:25 2019 -0800 @@ -1674,7 +1674,7 @@ Test omit indicating for help $ cat > addverboseitems.py <<EOF - > '''extension to test omit indicating. + > r'''extension to test omit indicating. > > This paragraph is never omitted (for extension) > @@ -1687,7 +1687,7 @@ > ''' > 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 >