From 2931eea70b0234cf284c88b9a2a31e1c63bcfcd6 Mon Sep 17 00:00:00 2001 From: Mats Wichmann Date: Thu, 13 Feb 2020 08:16:11 -0700 Subject: [PR #3554] restore wrapper.py for former state Changes didn't work on Windows. Signed-off-by: Mats Wichmann --- test/fixture/wrapper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fixture/wrapper.py b/test/fixture/wrapper.py index d9bcefe..112186e 100644 --- a/test/fixture/wrapper.py +++ b/test/fixture/wrapper.py @@ -5,6 +5,6 @@ import subprocess if __name__ == '__main__': path = os.path.join(os.path.dirname(os.path.relpath(__file__)), 'wrapper.out') if '--version' not in sys.argv and '-dumpversion' not in sys.argv: - with open(path, 'w') as f: - f.write("wrapper.py\n") + with open(path, 'wb') as f: + f.write(b"wrapper.py\n") subprocess.run(sys.argv[1:]) -- cgit v0.12