Mercurial > hg
changeset 40362:2f1edf5e0a4b
py3: get around IOError variants in test-commandserver.t
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 16 Oct 2018 08:48:23 +0200 |
parents | b7de186efd82 |
children | c3ad9ef0876c |
files | contrib/python3-whitelist tests/test-commandserver.t |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/python3-whitelist Tue Oct 16 08:41:58 2018 +0200 +++ b/contrib/python3-whitelist Tue Oct 16 08:48:23 2018 +0200 @@ -78,6 +78,7 @@ test-clone.t test-clonebundles.t test-close-head.t +test-commandserver.t test-commit-amend.t test-commit-interactive.t test-commit-multiple.t
--- a/tests/test-commandserver.t Tue Oct 16 08:41:58 2018 +0200 +++ b/tests/test-commandserver.t Tue Oct 16 08:48:23 2018 +0200 @@ -793,13 +793,13 @@ ... break >>> check(earlycrash, server.connect) e, 'Traceback (most recent call last):\n' - e, "IOError: *" (glob) + e, "(IOError|FileNotFoundError): .*" (re) >>> server.shutdown() $ cat .hg/server.log | grep -v '^ ' listening at .hg/server.sock Traceback (most recent call last): - IOError: * (glob) + (IOError|FileNotFoundError): .* (re) killed! #endif #if no-unix-socket