tests/test-context.py
branchstable
changeset 23060 4eaea93b3e5b
parent 21837 61b333b982ea
child 23700 a4958cdb2202
--- a/tests/test-context.py	Mon Oct 20 22:08:08 2014 +0900
+++ b/tests/test-context.py	Mon Oct 20 22:08:08 2014 +0900
@@ -7,7 +7,7 @@
 os.chdir('test1')
 
 # create 'foo' with fixed time stamp
-f = open('foo', 'w')
+f = open('foo', 'wb')
 f.write('foo\n')
 f.close()
 os.utime('foo', (1000, 1000))