mirror of https://github.com/scrapy/scrapy.git
test: replace silent call with assert results == [] per Adrian
This commit is contained in:
parent
e787fbb139
commit
e132e77330
|
|
@ -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 == []
|
||||
|
|
|
|||
Loading…
Reference in New Issue