changeset 29187:aec5d8561be2

tests: mark test-context.py write as binary
author timeless <timeless@mozdev.org>
date Wed, 20 Apr 2016 19:53:01 +0000
parents e0fc0ed41935
children f00f1de16454
files tests/test-context.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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))