mirror of
https://github.com/wassname/TTS.git
synced 2026-09-08 16:50:36 +08:00
8 lines
276 B
Python
8 lines
276 B
Python
import unittest
|
|
|
|
from TTS.tts.utils.text import phonemes
|
|
|
|
class SymbolsTest(unittest.TestCase):
|
|
def test_uniqueness(self): #pylint: disable=no-self-use
|
|
assert sorted(phonemes) == sorted(list(set(phonemes))), " {} vs {} ".format(len(phonemes), len(set(phonemes)))
|