test: replace silent call with assert results == [] per Adrian

This commit is contained in:
MeGaurav4 2026-06-29 19:41:18 +05:30
parent e787fbb139
commit e132e77330
1 changed files with 2 additions and 1 deletions

View File

@ -320,4 +320,5 @@ def test_sitemap_non_string_tag():
_get_tag_name must handle this gracefully instead of raising
AttributeError.
"""
list(Sitemap(b"<url>&k;"))
results = list(Sitemap(b"<url>&k;"))
assert results == []