##// END OF EJS Templates
py3: replace file() with open() in test-relink.t...
Pulkit Goyal -
r36036:2ea0e89b default
parent child Browse files
Show More
@@ -49,7 +49,7 b" don't sit forever trying to double-lock "
49
49
50 Test files are read in binary mode
50 Test files are read in binary mode
51
51
52 $ $PYTHON -c "file('.hg/store/data/dummy.i', 'wb').write('a\r\nb\n')"
52 $ $PYTHON -c "open('.hg/store/data/dummy.i', 'wb').write(b'a\r\nb\n')"
53 $ cd ..
53 $ cd ..
54
54
55
55
@@ -68,7 +68,7 b' clone and pull to break links'
68 $ echo b >> b
68 $ echo b >> b
69 $ hg ci -m changeb
69 $ hg ci -m changeb
70 created new head
70 created new head
71 $ $PYTHON -c "file('.hg/store/data/dummy.i', 'wb').write('a\nb\r\n')"
71 $ $PYTHON -c "open('.hg/store/data/dummy.i', 'wb').write(b'a\nb\r\n')"
72
72
73
73
74 relink
74 relink
General Comments 0
You need to be logged in to leave comments. Login now