# HG changeset patch # User Augie Fackler # Date 1526759252 14400 # Node ID e504fa6308600bc43db587143b201a744d02eca0 # Parent 0b39edeff0332b82c6feb46adbdfce9181ad544d 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 diff -r 0b39edeff033 -r e504fa630860 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