Mercurial > hg > mercurial-source
changeset 41148: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 +++ b/contrib/python3-whitelist @@ -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 +++ b/tests/test-commandserver.t @@ -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