def test_queryIterable(self):
        """
        When a L{URL} is created with a C{query} argument, the C{query}
        argument is converted into an N-tuple of 2-tuples.
        """
        url = URL(query=[[u'alpha', u'beta']])
        self.assertEqual(url.query, ((u'alpha', u'beta'),))

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