Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Rename test_non_str_url_py2 to test_bytes_url.

Andrey Rakhmatullin3b2289ad0120
diff --git a/tests/test_link.py b/tests/test_link.py
index 5e2ce5eeb..e0f1efffa 100644
--- a/tests/test_link.py
+++ b/tests/test_link.py
@@ -43,6 +43,6 @@ class LinkTest(unittest.TestCase):
l2 = eval(repr(l1))
self._assert_same_links(l1, l2)
- def test_non_str_url_py2(self):
+ def test_bytes_url(self):
with self.assertRaises(TypeError):
Link(b"http://www.example.com/\xc2\xa3")