# HG changeset patch # User Gregory Szorc # Date 2019-01-31 01:07:58 # Node ID 161d3c0d7dbc62faf392db231a2203b649b2e0df # Parent 2fe2f1ba596d9e3b4b691c99908e1e2c72a59157 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 diff --git a/tests/test-remotefilelog-gc.t b/tests/test-remotefilelog-gc.t --- a/tests/test-remotefilelog-gc.t +++ b/tests/test-remotefilelog-gc.t @@ -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]