From d08322c1a37bb58fe8e0aab913ac3c98cb9a486b Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Fri, 12 Feb 2021 20:18:32 +0100 Subject: [PATCH] No point making a list to convert to a set --- tests/test_core/test_core_spell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_core/test_core_spell.py b/tests/test_core/test_core_spell.py index 90ef0fff..46ee1937 100644 --- a/tests/test_core/test_core_spell.py +++ b/tests/test_core/test_core_spell.py @@ -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")