From e059b2d0fcb91ce6f0e012c07cbd91befa026c2d Mon Sep 17 00:00:00 2001 From: timeless Date: Wed, 20 Apr 2016 19:53:01 +0000 Subject: [PATCH] tests: mark test-context.py write as binary --- tests/test-context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-context.py b/tests/test-context.py index 6cee9d15c1..ef6fb2c987 100644 --- a/tests/test-context.py +++ b/tests/test-context.py @@ -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))