No point making a list to convert to a set

This commit is contained in:
Veronica K. B. Olsen
2021-02-12 20:18:32 +01:00
parent ec1c664ed6
commit d08322c1a3
+1 -1
View File
@@ -145,7 +145,7 @@ def testCoreSpell_Simple(monkeypatch, tmpDir, tmpConf):
# Load dictionary properly
spChk.setLanguage("en", wList)
assert spChk.projDict == ["a_word", "b_word", "c_word"]
assert spChk.theWords == set(["e_word", "f_word", "g_word", "a_word", "b_word", "c_word"])
assert spChk.theWords == {"e_word", "f_word", "g_word", "a_word", "b_word", "c_word"}
# Check words
assert spChk.checkWord("a_word")