From 0ec39dae449a0a088af0b52b128d8a7441e5ef10 Mon Sep 17 00:00:00 2001 From: Mats Wichmann Date: Sun, 27 Nov 2022 13:20:43 -0700 Subject: Fix the framework TestCmdTests on LInux [ skip appveyor] Again thanks to Bill Deegan, the two remaining framework tests on Linux now work. Windows still shows a number of fails. Signed-off-by: Mats Wichmann --- testing/framework/TestCmdTests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/framework/TestCmdTests.py b/testing/framework/TestCmdTests.py index 1406e0b..dfcb4b1 100644 --- a/testing/framework/TestCmdTests.py +++ b/testing/framework/TestCmdTests.py @@ -2305,8 +2305,8 @@ sys.stderr = Unbuffered(sys.stderr) sys.stdout.write('script_recv: STDOUT\\n') sys.stderr.write('script_recv: STDERR\\n') -with open(r'{t.recv_out_path}', 'wb') as logfp: - while 1: +with open(r'{t.recv_out_path}', 'w') as logfp: + while True: line = sys.stdin.readline() if not line: break -- cgit v0.12