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

Method test_RFC2368

Lib/test/test_urlparse.py:448–453  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

446
447
448 def test_RFC2368(self):
449 # Issue 11467: path that starts with a number is not parsed correctly
450 self.assertEqual(urlparse('mailto:1337@example.org'),
451 ('mailto', '', '1337@example.org', '', '', ''))
452 self.assertEqual(urlparse('mailto:1337@example.org', missing_as_none=True),
453 ('mailto', None, '1337@example.org', None, None, None))
454
455 def test_RFC2396(self):
456 # cases from RFC 2396

Callers

nothing calls this directly

Calls 2

urlparseFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected