def test_pathIterable(self):
        """
        When a L{URL} is created with a C{path} argument, the C{path} is
        converted into a tuple.
        """
        url = URL(path=[u'hello', u'world'])
        self.assertEqual(url.path, (u'hello', u'world'))

        When a L{URL} is created with a C{path} argument, the C{path} is
        converted into a tuple.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/test/test_url.py