Fix tests
Python CI / test (push) Failing after 5m26s

This commit is contained in:
2025-09-12 21:23:56 +02:00
parent 65ab46556f
commit 718027f3c8
12 changed files with 58 additions and 39 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ class TestBlockElements(unittest.TestCase):
self.assertEqual(paragraph.word_count, 2)
# Test word iteration
words = list(paragraph.words())
words = list(paragraph.words_iter())
self.assertEqual(len(words), 2)
self.assertEqual(words[0][1].text, "Hello")
self.assertEqual(words[1][1].text, "World")