def test_parseEqualSignInParamValue(self):
        """
        Every C{=}-sign after the first in a query parameter is simply included
        in the value of the parameter.
        """
        u = URL.from_text('http://localhost/?=x=x=x')
        self.assertEqual(u.get(''), ['x=x=x'])
        self.assertEqual(u.to_text(), 'http://localhost/?=x=x=x')
        u = URL.from_text('http://localhost/?foo=x=x=x&bar=y')
        self.assertEqual(u.query, (('foo', 'x=x=x'), ('bar', 'y')))
        self.assertEqual(u.to_text(), 'http://localhost/?foo=x=x=x&bar=y')

        u = URL.from_text('https://example.com/?argument=3&argument=4&operator=%3D')
        iri = u.to_iri()
        self.assertEqual(iri.get('operator'), ['='])
        # assert that the equals is not unnecessarily escaped
        self.assertEqual(iri.to_uri().get('operator'), ['='])

        Every C{=}-sign after the first in a query parameter is simply included
        in the value of the parameter.
        
stackoverflow/venv/lib/python3.6/site-packages/hyperlink/test/test_url.py