File size: 276 Bytes
2493d72
 
 
 
 
 
 
1
2
3
4
5
6
7
8
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)))