D3621: tests: use [(] instead of \( to avoid warning on py3

2018-05-19 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGe504fa630860: tests: use [(] instead of \( to avoid warning 
on py3 (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3621?vs=8823=8828

REVISION DETAIL
  https://phab.mercurial-scm.org/D3621

AFFECTED FILES
  tests/test-unified-test.t

CHANGE DETAILS

diff --git a/tests/test-unified-test.t b/tests/test-unified-test.t
--- a/tests/test-unified-test.t
+++ b/tests/test-unified-test.t
@@ -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



To: durin42, #hg-reviewers, pulkit
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D3621: tests: use [(] instead of \( to avoid warning on py3

2018-05-19 Thread durin42 (Augie Fackler)
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  From a recent test run of mine:
  
  run-tests.py:1633: DeprecationWarning: invalid escape sequence '\('
  
  This lets us encode the expectation without the badness.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3621

AFFECTED FILES
  tests/test-unified-test.t

CHANGE DETAILS

diff --git a/tests/test-unified-test.t b/tests/test-unified-test.t
--- a/tests/test-unified-test.t
+++ b/tests/test-unified-test.t
@@ -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



To: durin42, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel