def test_initDefaults(self):
        """
        L{URL} should have appropriate default values.
        """
        def check(u):
            self.assertUnicoded(u)
            self.assertURL(u, u'http', u'', [], [], u'', 80, u'')

        check(URL(u'http', u''))
        check(URL(u'http', u'', [], []))
        check(URL(u'http', u'', [], [], u''))

        L{URL} should have appropriate default values.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/test/test_url.py