0e5581cb2a9616205a00cbabf4c9a30613a1037f,test/common_utils.py,,filter_backends_with_mp3,#Any#,66
Before Change
def filter_backends_with_mp3(backends):
// Filter out backends that do not support mp3
test_dirpath, _ = create_temp_assets_dir()
test_filepath = os.path.join(
test_dirpath, "assets", "steam-train-whistle-daniel_simon.mp3"
)
After Change
def filter_backends_with_mp3(backends):
// Filter out backends that do not support mp3
test_filepath = get_asset_path("steam-train-whistle-daniel_simon.mp3")
def supports_mp3(backend):
try:
with AudioBackendScope(backend):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: pytorch/audio
Commit Name: 0e5581cb2a9616205a00cbabf4c9a30613a1037f
Time: 2020-04-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/common_utils.py
Class Name:
Method Name: filter_backends_with_mp3
Project Name: pytorch/audio
Commit Name: 0e5581cb2a9616205a00cbabf4c9a30613a1037f
Time: 2020-04-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_effects.py
Class Name: Test_SoxEffectsChain
Method Name: Test_SoxEffectsChain_1
Project Name: pytorch/audio
Commit Name: 0e5581cb2a9616205a00cbabf4c9a30613a1037f
Time: 2020-04-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_compliance_kaldi.py
Class Name: Test_Kaldi
Method Name: Test_Kaldi_1