Skip to content

Commit 7fe8ef5

Browse files
committed
Add even more detailed prints to debug failing tests. Minor test fixes
1 parent 23c3132 commit 7fe8ef5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/test_html.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,9 +351,8 @@ def test_document_parsed_from_plain_text_returns_plain_text():
351351
parser = SECHTMLParser(root)
352352
doc = parser.parse()
353353
print("Parsed Document:")
354-
print('[' + doc + ']' + doc is None)
355354
document = Document.parse(html)
356-
assert document
355+
assert document is not None, "Document should not be None"
357356
assert len(document) == 1
358357
assert document[0].type == "text_block"
359358
assert document[0].content == html.strip()

0 commit comments

Comments
 (0)