We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4eed20 commit 1f21520Copy full SHA for 1f21520
examples/wordle_test.py
@@ -64,6 +64,8 @@ def test_wordle(self):
64
found_word = False
65
for attempt in range(6):
66
num_attempts += 1
67
+ if len(self.word_list) == 0:
68
+ self.fail("Today's word was not found in my dictionary!")
69
word = random.choice(self.word_list)
70
letters = []
71
for letter in word:
0 commit comments