# HG changeset patch # User timeless # Date 1461181981 0 # Node ID aec5d8561be2cc0e251a1961b55fbb8f9b8cd190 # Parent e0fc0ed4193532704d5d78aa5c7b965167214b6d tests: mark test-context.py write as binary diff -r e0fc0ed41935 -r aec5d8561be2 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))