##// END OF EJS Templates
py3: add b'' prefixes in tests/test-diff-color.t...
Pulkit Goyal -
r39653:c8e371ee default
parent child Browse files
Show More
@@ -57,7 +57,7 b' trailing whitespace'
57 >>> with open('a', 'rb') as f:
57 >>> with open('a', 'rb') as f:
58 ... data = f.read()
58 ... data = f.read()
59 >>> with open('a', 'wb') as f:
59 >>> with open('a', 'wb') as f:
60 ... f.write(data.replace('dd', 'dd \r'))
60 ... f.write(data.replace(b'dd', b'dd \r'))
61 $ hg diff --nodates
61 $ hg diff --nodates
62 \x1b[0;1mdiff -r cf9f4ba66af2 a\x1b[0m (esc)
62 \x1b[0;1mdiff -r cf9f4ba66af2 a\x1b[0m (esc)
63 \x1b[0;31;1m--- a/a\x1b[0m (esc)
63 \x1b[0;31;1m--- a/a\x1b[0m (esc)
General Comments 0
You need to be logged in to leave comments. Login now