##// END OF EJS Templates
tests: open file in binary mode to use POSIX end-of-line style anywhere...
FUJIWARA Katsunori -
r23060:4eaea93b stable
parent child Browse files
Show More
@@ -7,7 +7,7 b" repo = hg.repository(u, 'test1', create="
7 os.chdir('test1')
7 os.chdir('test1')
8
8
9 # create 'foo' with fixed time stamp
9 # create 'foo' with fixed time stamp
10 f = open('foo', 'w')
10 f = open('foo', 'wb')
11 f.write('foo\n')
11 f.write('foo\n')
12 f.close()
12 f.close()
13 os.utime('foo', (1000, 1000))
13 os.utime('foo', (1000, 1000))
General Comments 0
You need to be logged in to leave comments. Login now