diff tests/generate-working-copy-states.py @ 36794:ed46d48453e8

py3: drop b'' from generate-working-copy-states.py output I could make everything bytes, but decoding filename seemed easier and we don't have to worry about non-ascii filenames here.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 04 Mar 2018 18:47:07 -0500
parents 27ab9264dd61
children 2372284d9457
line wrap: on
line diff
--- a/tests/generate-working-copy-states.py	Sun Mar 04 18:41:09 2018 -0500
+++ b/tests/generate-working-copy-states.py	Sun Mar 04 18:47:07 2018 -0500
@@ -66,7 +66,7 @@
 content = []
 for filename, states in combinations:
     if target == 'filelist':
-        print(filename)
+        print(filename.decode('ascii'))
     elif target == 'state':
         if depth == 'wc':
             # Make sure there is content so the file gets written and can be