remove utf-8 encoding flag from test

This commit is contained in:
Samuel Bartlett 2023-03-31 12:29:22 +00:00
parent 00d93026c8
commit 4043560547
1 changed files with 1 additions and 1 deletions

View File

@ -822,7 +822,7 @@ class LxmlLinkExtractorTestCase(Base.LinkExtractorTestCase):
<a href="http://example.org/item2.html">Good Link</a>
<a href="http://example.org/item3.html">Good Link 2</a>
"""
response = HtmlResponse("http://example.org/index.html", body=html, encoding='utf-8')
response = HtmlResponse("http://example.org/index.html", body=html)
lx = self.extractor_cls()
self.assertEqual(
[link for link in lx.extract_links(response)],