From 5d7bd7a28af02015de7d4e535c90be34c63a40d1 Mon Sep 17 00:00:00 2001 From: Eric Joanis Date: Mon, 25 Mar 2024 14:04:05 -0400 Subject: [PATCH] test(studio): make sure we test one lexicon mapping --- g2p/tests/test_studio.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/g2p/tests/test_studio.py b/g2p/tests/test_studio.py index 65a544df..e142ce7a 100755 --- a/g2p/tests/test_studio.py +++ b/g2p/tests/test_studio.py @@ -99,6 +99,8 @@ async def test_langs(self): sample(range(len(langs_to_test)), k=len(langs_to_test) // 10) ) ] + # Make sure we test at least one lexicon-based example + langs_to_test.append(["eng", "eng-arpabet", "hello", "HH AH L OW "]) error_count = 0