changeset 40982:c296b8faa926

py3: byteify the fakeversion extension in test-http-bad-server.t # skip-blame for b'' prefixing
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 17 Dec 2018 21:27:37 -0500
parents 08f5482a6755
children 70a00a8cd66e
files tests/test-http-bad-server.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-http-bad-server.t	Mon Dec 17 18:25:18 2018 -0500
+++ b/tests/test-http-bad-server.t	Mon Dec 17 21:27:37 2018 -0500
@@ -5,7 +5,7 @@
 
   $ cat > fakeversion.py << EOF
   > from mercurial import util
-  > util.version = lambda: '4.2'
+  > util.version = lambda: b'4.2'
   > EOF
 
   $ cat >> $HGRCPATH << EOF