Skip to content

Commit f5a9263

Browse files
committed
Fix arguments to torchscript deprecation test
1 parent 39f69f6 commit f5a9263

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/torchaudio_unittest/deprecation_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,4 @@ def test_torchscript_fails(scripted):
2929
if scripted:
3030
pytest.xfail("Deprecation decorator breaks torchscript")
3131
f = torch.jit.script(f)
32-
_, out_sample_rate = f(torch.rand(2, 1000), sample_rate=16_000, effects=[["rate", "8000"]])
33-
assert out_sample_rate == 8000
32+
f(torch.rand(2, 1000))

0 commit comments

Comments
 (0)