Skip to content

Commit 131e48b

Browse files
authored
Skip lowpass_speed on macOS (#782)
`test/test_sox_effects.py::Test_SoxEffectsChain::test_lowpass_speed` has some issue on our macOS CI, even though there was no issue at #777 . While we figure out the fix, we disable this test for macOS.
1 parent d11ad6b commit 131e48b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_sox_effects.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import sys
12
import math
23
import unittest
34

@@ -34,6 +35,7 @@ def test_rate_channels(self):
3435
self.assertEqual(sr, target_rate)
3536
self.assertEqual(x.size(0), target_channels)
3637

38+
@unittest.skipIf(sys.platform == 'darwin', 'This test is known to fail on macOS')
3739
def test_lowpass_speed(self):
3840
speed = .8
3941
si, _ = torchaudio.info(self.test_filepath)

0 commit comments

Comments
 (0)