tests: use [(] instead of \( to avoid warning on py3
authorAugie Fackler <augie@google.com>
Sat, 19 May 2018 15:47:32 -0400
changeset 38094 e504fa630860
parent 38093 0b39edeff033
child 38095 3de58f50afa2
tests: use [(] instead of \( to avoid warning on py3 From a recent test run of mine: run-tests.py:1633: DeprecationWarning: invalid escape sequence '\(' This lets us encode the expectation without the badness. Differential Revision: https://phab.mercurial-scm.org/D3621
tests/test-unified-test.t
--- a/tests/test-unified-test.t	Sat May 19 15:15:51 2018 -0400
+++ b/tests/test-unified-test.t	Sat May 19 15:47:32 2018 -0400
@@ -84,7 +84,7 @@
   foo/bar\r (no-eol) (esc)
 #endif
   $ printf 'foo/bar\rfoo/bar\r'
-  foo.bar\r \(no-eol\) (re) (esc)
+  foo.bar\r [(]no-eol[)] (re) (esc)
   foo.bar\r \(no-eol\) (re)
 
 testing hghave