Rename test_non_str_url_py2 to test_bytes_url.

This commit is contained in:
Andrey Rakhmatullin 2019-11-14 22:53:28 +05:00
parent fe3a121f13
commit 3b2289ad01
1 changed files with 1 additions and 1 deletions

View File

@ -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")