changeset 41565: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 7295279b9ea5
children 99b4c6d73a72
files tests/test-help.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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
   >