Skip to content

Commit 6af6c95

Browse files
committed
Add comment and tighten sox testing spec
1 parent 766e3db commit 6af6c95

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/scripts/unittest-linux/run_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ fi
3030

3131
(
3232
cd test
33-
pytest torchaudio_unittest -k "not backend and not /io/ and not prototype and not ffmpeg and not fairseq and not hdemucs and not (torchscript and rnnt) and not torchscript_consistency"
33+
pytest torchaudio_unittest -k "not backend and not (sox and not compatibility) and not /io/ and not prototype and not ffmpeg and not fairseq and not hdemucs and not (torchscript and rnnt) and not torchscript_consistency"
3434
)

src/torchaudio/_internal/module_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ def decorator(func):
9797
{func.__doc__}
9898
"""
9999

100+
# This is a temporary fix to avoid depending on sox during testing.
101+
# It will be removed once the sox dependency is removed from the rest of the codebase.
100102
if 'sox' not in func.__module__:
101103
UNSUPPORTED.append(wrapped)
102104
return wrapped

0 commit comments

Comments
 (0)