Mercurial > hg
diff tests/test-unified-test.t @ 38094:e504fa630860
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
author | Augie Fackler <augie@google.com> |
---|---|
date | Sat, 19 May 2018 15:47:32 -0400 |
parents | 4441705b7111 |
children | bd0f122f3f51 |
line wrap: on
line diff
--- 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