diff tests/test-context.py @ 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 67bff672ccc2
children d83ca854fa21
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))