py3: byteify the fakeversion extension in test-http-bad-server.t
authorMatt Harbison <matt_harbison@yahoo.com>
Mon, 17 Dec 2018 21:27:37 -0500
changeset 40982 c296b8faa926
parent 40981 08f5482a6755
child 40983 70a00a8cd66e
py3: byteify the fakeversion extension in test-http-bad-server.t # skip-blame for b'' prefixing
tests/test-http-bad-server.t
--- 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