diff --git a/tests/test_linkextractors.py b/tests/test_linkextractors.py index d78b25f25..b946ef842 100644 --- a/tests/test_linkextractors.py +++ b/tests/test_linkextractors.py @@ -80,8 +80,8 @@ class LinkExtractorTestCase(unittest.TestCase): ]) self.assertEqual(lx.extract_links(response_latin1), [ - Link(url='http://example.com/sample_%F1.html', text=''), - Link(url='http://example.com/sample_%E1.html', text='sample \xe1 text'.decode('latin1')), + Link(url='http://example.com/sample_%C3%B1.html', text=''), + Link(url='http://example.com/sample_%C3%A1.html', text='sample \xe1 text'.decode('latin1')), ]) def test_matches(self):