Mercurial > hg-stable
changeset 41499:8f6f5dcd46ce
tests: add Python 3 output for test-remotefilelog-gc.t
Python 3 raises a slightly different error on invalid paths.
Differential Revision: https://phab.mercurial-scm.org/D5773
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 30 Jan 2019 17:07:58 -0800 |
parents | 7f366dd3df1f |
children | f9150901267c |
files | tests/test-remotefilelog-gc.t |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-remotefilelog-gc.t Wed Jan 30 17:22:07 2019 -0800 +++ b/tests/test-remotefilelog-gc.t Wed Jan 30 17:07:58 2019 -0800 @@ -108,5 +108,6 @@ $ printf "asdas\0das" >> $CACHEDIR/repos $ hg gc - abort: invalid path asdas\x00da: stat() argument 1 must be encoded string without null bytes, not str (esc) + abort: invalid path asdas\x00da: stat: embedded null character in path (esc) (py3 !) + abort: invalid path asdas\x00da: stat() argument 1 must be encoded string without null bytes, not str (esc) (no-py3 !) [255]