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

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

Issue 2718063003: POLQA evaluation score. (Closed)
Patch Set: rebase Created 3 years, 9 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
« no previous file with comments | « webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/signal_processing.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/signal_processing.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698