tests: mark test-context.py write as binary

This commit is contained in:
timeless 2016-04-20 19:53:01 +00:00
parent 3b0e4dbcf2
commit e059b2d0fc

View File

@ -14,7 +14,7 @@ os.chdir('test1')
# create 'foo' with fixed time stamp
f = open('foo', 'wb')
f.write('foo\n')
f.write(b'foo\n')
f.close()
os.utime('foo', (1000, 1000))