[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 <mbonadei@webrtc.org> Owners-Override: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Christoffer Jansson <jansson@google.com> Commit-Queue: Christoffer Jansson <jansson@google.com> Cr-Commit-Position: refs/heads/main@{#35839}
This commit is contained in:
parent
a4290a7909
commit
f3686711e9
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user