diff --git a/audio/test/low_bandwidth_audio_test.py b/audio/test/low_bandwidth_audio_test.py index f2b7c09500..92aca16473 100755 --- a/audio/test/low_bandwidth_audio_test.py +++ b/audio/test/low_bandwidth_audio_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env vpython3 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. # # Use of this source code is governed by a BSD-style license @@ -331,13 +331,13 @@ def main(): analyzer_results = analyzer.func(analyzer.executable, reference_file, degraded_file) - for metric, (value, units) in analyzer_results.items(): + for metric, (value, units) in list(analyzer_results.items()): hist = histograms.CreateHistogram(metric, units, [value]) user_story = generic_set.GenericSet([test_name]) hist.diagnostics[reserved_infos.STORIES.name] = user_story # Output human readable results. - print 'RESULT %s: %s= %s %s' % (metric, test_name, value, units) + print('RESULT %s: %s= %s %s' % (metric, test_name, value, units)) if args.remove: os.remove(reference_file)