py3: fix a bytes/str mingling in test-install.t
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 25 Jan 2019 22:32:45 -0500
changeset 41386 baffda74891c
parent 41385 ed99c7b52106
child 41387 947b81560583
py3: fix a bytes/str mingling in test-install.t
tests/test-install.t
--- a/tests/test-install.t	Fri Jan 25 21:19:51 2019 -0500
+++ b/tests/test-install.t	Fri Jan 25 22:32:45 2019 -0500
@@ -188,10 +188,9 @@
   >                             stderr=subprocess.PIPE)
   >     output = proc.communicate()[0]
   > 
-  >     slash = '/'
   >     for line in output.splitlines():
   >         if os.name == 'nt':
-  >             yield line.replace(os.sep, slash)
+  >             yield line.replace(pycompat.sysbytes(os.sep), b'/')
   >         else:
   >             yield line
   >