From e132e77330661c3068ab9d929022183b5912f1c2 Mon Sep 17 00:00:00 2001 From: MeGaurav4 Date: Mon, 29 Jun 2026 19:41:18 +0530 Subject: [PATCH] test: replace silent call with assert results == [] per Adrian --- tests/test_utils_sitemap.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_utils_sitemap.py b/tests/test_utils_sitemap.py index 86478e8ee..ac57e1739 100644 --- a/tests/test_utils_sitemap.py +++ b/tests/test_utils_sitemap.py @@ -320,4 +320,5 @@ def test_sitemap_non_string_tag(): _get_tag_name must handle this gracefully instead of raising AttributeError. """ - list(Sitemap(b"&k;")) + results = list(Sitemap(b"&k;")) + assert results == []