From f3686711e9a4f679ccb26057a4c653e29b97d887 Mon Sep 17 00:00:00 2001 From: Mirko Bonadei Date: Mon, 31 Jan 2022 08:47:41 +0100 Subject: [PATCH] [python3] - Fix low_bandwidth_audio_test.py No-Presubmit: True Bug: webrtc:13607 Change-Id: I88013e080adbafae3001cba4c1ed2428d4473d22 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/249984 Auto-Submit: Mirko Bonadei Owners-Override: Mirko Bonadei Reviewed-by: Christoffer Jansson Commit-Queue: Christoffer Jansson Cr-Commit-Position: refs/heads/main@{#35839} --- audio/test/low_bandwidth_audio_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/test/low_bandwidth_audio_test.py b/audio/test/low_bandwidth_audio_test.py index 92aca16473..80f32e188b 100755 --- a/audio/test/low_bandwidth_audio_test.py +++ b/audio/test/low_bandwidth_audio_test.py @@ -203,7 +203,7 @@ def _RunPolqa(executable_path, reference_file, degraded_file): out, err = process.communicate() # Find the scores in stdout of POLQA. - match = re.search(r'\bMOS-LQO:\s+([\d.]+)', out) + match = re.search(r'\bMOS-LQO:\s+([\d.]+)', out.decode('utf-8')) if process.returncode != 0 or not match: if process.returncode == 2: