MCPcopy Index your code
hub / github.com/python/cpython / test_unwrap

Method test_unwrap

Lib/test/test_urlparse.py:1908–1910  ·  view source on GitHub ↗
(self, wrapped_url)

Source from the content-addressed store, hash-verified

1906 ('<URL:scheme://host/path>', '<scheme://host/path>',
1907 'URL:scheme://host/path', 'scheme://host/path'))
1908 def test_unwrap(self, wrapped_url):
1909 url = urllib.parse.unwrap(wrapped_url)
1910 self.assertEqual(url, 'scheme://host/path')
1911
1912
1913class DeprecationTest(unittest.TestCase):

Callers

nothing calls this directly

Calls 2

unwrapMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected