(self, bytes, u)
| 392 | @support.subTests('bytes', (False, True)) |
| 393 | @support.subTests('u', ['Python', './Python','x-newscheme://foo.com/stuff','x://y','x:/y','x:/','/',]) |
| 394 | def test_unparse_parse(self, bytes, u): |
| 395 | if bytes: |
| 396 | u = str_encode(u) |
| 397 | self.assertEqual(urllib.parse.urlunsplit(urllib.parse.urlsplit(u)), u) |
| 398 | self.assertEqual(urllib.parse.urlunparse(urllib.parse.urlparse(u)), u) |
| 399 | |
| 400 | def test_RFC1808(self): |
| 401 | # "normal" cases from RFC 1808: |
nothing calls this directly
no test coverage detected