Index: webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/signal_processing_unittest.py |
diff --git a/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/signal_processing_unittest.py b/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/signal_processing_unittest.py |
index 1765a2c515099f3ec0e40ca4ece963c15960632a..7cb088c0d40722de27e3e7cc77e37e95cf49723e 100644 |
--- a/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/signal_processing_unittest.py |
+++ b/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/signal_processing_unittest.py |
@@ -14,6 +14,7 @@ import unittest |
import numpy as np |
import pydub |
+from . import exceptions |
from . import signal_processing |
@@ -65,10 +66,10 @@ class TestSignalProcessing(unittest.TestCase): |
signal = signal_processing.SignalProcessingUtils.generate_white_noise( |
silence) |
- with self.assertRaises(signal_processing.SignalProcessingException): |
+ with self.assertRaises(exceptions.SignalProcessingException): |
_ = signal_processing.SignalProcessingUtils.mix_signals( |
signal, silence, 0.0) |
- with self.assertRaises(signal_processing.SignalProcessingException): |
+ with self.assertRaises(exceptions.SignalProcessingException): |
_ = signal_processing.SignalProcessingUtils.mix_signals( |
silence, signal, 0.0) |