def test_clickSchemeRelPath(self):
        """
        L{URL.click} should not accept schemes with relative paths.
        """
        base = URL.fromText(relativeLinkBaseForRFC3986)
        self.assertRaises(NotImplementedError, base.click, 'g:h')
        self.assertRaises(NotImplementedError, base.click, 'http:h')

        L{URL.click} should not accept schemes with relative paths.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/test/test_url.py