##// END OF EJS Templates
py3: suppress the output of open() using `and None`...
Pulkit Goyal -
r37385:87c4253b default
parent child Browse files
Show More
@@ -35,7 +35,7 b' Narrow diffstat:'
35
35
36 $ hg ci -m appenda
36 $ hg ci -m appenda
37
37
38 >>> open("c", "wb").write(b"\0")
38 >>> open("c", "wb").write(b"\0") and None
39 $ touch d
39 $ touch d
40 $ hg add c d
40 $ hg add c d
41
41
@@ -54,7 +54,7 b' Binary git diffstat:'
54
54
55 $ hg ci -m createb
55 $ hg ci -m createb
56
56
57 >>> open("file with spaces", "wb").write(b"\0")
57 >>> open("file with spaces", "wb").write(b"\0") and None
58 $ hg add "file with spaces"
58 $ hg add "file with spaces"
59
59
60 Filename with spaces diffstat:
60 Filename with spaces diffstat:
General Comments 0
You need to be logged in to leave comments. Login now