mirror of
https://github.com/coqui-ai/TTS.git
synced 2026-07-13 05:50:18 +02: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)))
|