Skip to content

Commit b43fbb1

Browse files
committed
Update tests
1 parent e56b3c7 commit b43fbb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def test_unwrap_tags(parser):
292292
@pytest.mark.parametrize(*_PARSERS_PARAMETRIZER)
293293
def test_unwrap_empty_tags(parser):
294294
html_parser = parser("<div><a href="">Hello</a> <i>world</i>!<i></i><a></a></div>")
295-
html_parser.body.unwrap_tags(['i', 'a'])
295+
html_parser.body.unwrap_tags(['i', 'a'], delete_empty=True)
296296
assert html_parser.body.html == '<body><div>Hello world!</div></body>'
297297

298298

0 commit comments

Comments
 (0)