Mercurial > hg > auditok
changeset 152:71181bbe312a
Remove test for exception at multichannel AudioSource creation
author | Amine Sehili <amine.sehili@gmail.com> |
---|---|
date | Sat, 23 Feb 2019 21:08:01 +0100 |
parents | ace5ee1f185e |
children | 39559566226b |
files | tests/test_audio_source.py |
diffstat | 1 files changed, 0 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test_audio_source.py Fri Feb 22 21:12:53 2019 +0100 +++ b/tests/test_audio_source.py Sat Feb 23 21:08:01 2019 +0100 @@ -719,19 +719,6 @@ str(audio_param_err.exception), ) - def test_wrong_channels_value(self): - with self.assertRaises(AudioParameterError) as audio_param_err: - _ = BufferAudioSource( - data_buffer=b"ABCDEFGH", - sampling_rate=8, - sample_width=2, - channels=2, - ) - self.assertEqual( - "Only mono audio is currently supported", - str(audio_param_err.exception), - ) - def test_wrong_data_buffer_size(self): with self.assertRaises(AudioParameterError) as audio_param_err: _ = BufferAudioSource(