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 23c3132 commit 7fe8ef5Copy full SHA for 7fe8ef5
1 file changed
tests/test_html.py
@@ -351,9 +351,8 @@ def test_document_parsed_from_plain_text_returns_plain_text():
351
parser = SECHTMLParser(root)
352
doc = parser.parse()
353
print("Parsed Document:")
354
- print('[' + doc + ']' + doc is None)
355
document = Document.parse(html)
356
- assert document
+ assert document is not None, "Document should not be None"
357
assert len(document) == 1
358
assert document[0].type == "text_block"
359
assert document[0].content == html.strip()
0 commit comments