tests: add b'' to config file name
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 26 Jan 2019 14:06:07 -0800
changeset 41412 f5cb822625cc
parent 41411 f07aff7e8b5a
child 41413 fad627d2047c
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
tests/test-oldcgi.t
--- 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