From 062d996313f9a105fafb197582675b21a44af608 Mon Sep 17 00:00:00 2001 From: drryanhuang Date: Thu, 2 Jan 2025 11:40:34 +0000 Subject: [PATCH] fix codestyle --- audio/tests/audiotools/core/test_effects.py | 5 ----- audio/tests/audiotools/core/test_fftconv.py | 2 -- 2 files changed, 7 deletions(-) diff --git a/audio/tests/audiotools/core/test_effects.py b/audio/tests/audiotools/core/test_effects.py index 1ab6298b6..efb4a5d8e 100644 --- a/audio/tests/audiotools/core/test_effects.py +++ b/audio/tests/audiotools/core/test_effects.py @@ -144,11 +144,6 @@ def test_pipeline(): (spk @ ir).mix(nz, snr=tgt_snr) - - - - - @pytest.mark.parametrize("n_bands", [1, 2, 4, 8, 12, 16]) def test_mel_filterbank(n_bands): audio_path = "./audio/spk/f10_script4_produced.wav" diff --git a/audio/tests/audiotools/core/test_fftconv.py b/audio/tests/audiotools/core/test_fftconv.py index b344519da..fcc92d6b5 100644 --- a/audio/tests/audiotools/core/test_fftconv.py +++ b/audio/tests/audiotools/core/test_fftconv.py @@ -63,8 +63,6 @@ class TestFFTConv1d(_BaseTest): w = paddle.randn([10, 5, 19]) self.assertEqual(list(fft_conv1d(x, w).shape), [1, 10, 1]) - - def test_module(self): x = paddle.randn([16, 4, 1024]) mod = FFTConv1D(4, 5, 8, bias_attr=True)