tests: allow more detailed error message from re.compile
test-grep.t now passes on Python 3.
Differential Revision: https://phab.mercurial-scm.org/D4240
--- a/contrib/python3-whitelist Thu Aug 09 23:13:35 2018 -0400
+++ b/contrib/python3-whitelist Thu Aug 09 23:13:56 2018 -0400
@@ -185,6 +185,7 @@
test-glog-topological.t
test-gpg.t
test-graft.t
+test-grep.t
test-hg-parseurl.py
test-hghave.t
test-hgignore.t
--- a/tests/test-grep.t Thu Aug 09 23:13:35 2018 -0400
+++ b/tests/test-grep.t Thu Aug 09 23:13:56 2018 -0400
@@ -18,7 +18,7 @@
pattern error
$ hg grep '**test**'
- grep: invalid match pattern: nothing to repeat
+ grep: invalid match pattern: nothing to repeat* (glob)
[1]
simple