(self, bytes, u)
| 356 | @support.subTests('bytes', (False, True)) |
| 357 | @support.subTests('u', ['Python', './Python','x-newscheme://foo.com/stuff','x://y','x:/y','x:/','/',]) |
| 358 | def test_unparse_parse(self, bytes, u): |
| 359 | if bytes: |
| 360 | u = str_encode(u) |
| 361 | self.assertEqual(urllib.parse.urlunsplit(urllib.parse.urlsplit(u)), u) |
| 362 | self.assertEqual(urllib.parse.urlunparse(urllib.parse.urlparse(u)), u) |
| 363 | |
| 364 | def test_RFC1808(self): |
| 365 | # "normal" cases from RFC 1808: |
nothing calls this directly
no test coverage detected