Skip to content

Commit 99c35bc

Browse files
committed
Move text preprocessing tests into unittest directory
1 parent 1b52e72 commit 99c35bc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/pipeline_tacotron2/text/test_text.py renamed to test/torchaudio_unittest/example/tacotron2/test_text_preprocessing.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
import unittest
2-
31
from parameterized import parameterized
42

53
from .text_preprocessing import text_to_sequence
4+
from torchaudio_unittest.common_utils import PytorchTestCase
65

76

8-
class TestTextPreprocessor(unittest.TestCase):
7+
class TestTextPreprocessor(PytorchTestCase):
98

109
@parameterized.expand(
1110
[

0 commit comments

Comments
 (0)