Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1601)

Unified Diff: webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/simulation.py

Issue 2812273002: Fix lint errors to enable stricter PyLint rules (Closed)
Patch Set: Rebased Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/simulation.py
diff --git a/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/simulation.py b/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/simulation.py
index 42d76de0e85cb4cf7c337e5f25f1b956d3675fb4..a3bf9cceee3da85520865c3da9625101e69dadb4 100644
--- a/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/simulation.py
+++ b/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/simulation.py
@@ -145,15 +145,14 @@ class ApmModuleSimulator(object):
base_output_path=output_path)
# For each test data pair, simulate a call and evaluate.
- for test_data_generators_config_name in test_data_generators.config_names:
- logging.info(' - test data generator config: <%s>',
- test_data_generators_config_name)
+ for config_name in test_data_generators.config_names:
+ logging.info(' - test data generator config: <%s>', config_name)
# APM input and output signal paths.
noisy_signal_filepath = test_data_generators.noisy_signal_filepaths[
- test_data_generators_config_name]
+ config_name]
evaluation_output_path = test_data_generators.apm_output_paths[
- test_data_generators_config_name]
+ config_name]
# Simulate a call using the audio processing module.
self._audioproc_wrapper.Run(
@@ -164,7 +163,7 @@ class ApmModuleSimulator(object):
# Reference signal path for the evaluation step.
reference_signal_filepath = (
test_data_generators.reference_signal_filepaths[
- test_data_generators_config_name])
+ config_name])
# Evaluate.
self._evaluator.Run(

Powered by Google App Engine
This is Rietveld 408576698