Skip to content

Commit af85e41

Browse files
author
Ji Chen
committed
remove unittest main function
1 parent 281a666 commit af85e41

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/test_models.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import unittest
2-
31
import torch
42
from torchaudio.models import Wav2Letter, _MelResNet
53

@@ -53,6 +51,3 @@ def test_waveform(self):
5351
out = model(x)
5452

5553
assert out.size() == (batch_size, output_dims, num_features - pad * 2)
56-
57-
if __name__ == '__main__':
58-
unittest.main()

0 commit comments

Comments
 (0)