changeset 41434:f5cb822625cc

tests: add b'' to config file name Without this, things die in the bowels of the config system due to mixing str and bytes. # skip-blame: just b'' prefix Differential Revision: https://phab.mercurial-scm.org/D5723
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 26 Jan 2019 14:06:07 -0800
parents f07aff7e8b5a
children fad627d2047c
files tests/test-oldcgi.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-oldcgi.t	Sat Jan 26 14:00:42 2019 -0800
+++ b/tests/test-oldcgi.t	Sat Jan 26 14:06:07 2019 -0800
@@ -55,7 +55,7 @@
   > # Alternatively you can pass a list of ('virtual/path', '/real/path') tuples
   > # or use a dictionary with entries like 'virtual/path': '/real/path'
   > 
-  > h = hgweb.hgwebdir("hgweb.config")
+  > h = hgweb.hgwebdir(b"hgweb.config")
   > h.run()
   > HGWEBDIR