tests: mark test-context.py write as binary
authortimeless <timeless@mozdev.org>
Wed, 20 Apr 2016 19:53:01 +0000
changeset 29187 aec5d8561be2
parent 29186 e0fc0ed41935
child 29188 f00f1de16454
tests: mark test-context.py write as binary
tests/test-context.py
--- a/tests/test-context.py	Thu May 05 16:20:53 2016 +0200
+++ b/tests/test-context.py	Wed Apr 20 19:53:01 2016 +0000
@@ -14,7 +14,7 @@
 
 # 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))