summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
Diffstat (limited to 'boot')
-rw-r--r--boot/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/test.py b/boot/test.py
index b390d5e..af5f982 100644
--- a/boot/test.py
+++ b/boot/test.py
@@ -16,7 +16,7 @@ sys.path.append(mod_path)
import g2p
-class ListWhereOrderDoesNotMatter(list):
+class UnorderedList(list):
def __eq__(self, other):
return sorted(self) == sorted(other)
@@ -41,7 +41,7 @@ class TestVocabCompiler(unittest.TestCase):
# 'words' is appended with ['MUSIC', 'SPOTIFY']
# so must be > 2 to have received WORDS from modules
- translateWords.assert_called_once_with(ListWhereOrderDoesNotMatter(words))
+ translateWords.assert_called_once_with(UnorderedList(words))
self.assertTrue(text2lm.called)
os.remove(sentences)
os.remove(dictionary)