def test_similarNotUnequal(self):
        """
        Structurally similar L{URL}s are not unequal (C{!=}) to each other.
        """
        u1 = URL.from_text('http://u@localhost:8080/p/a/t/h?q=p#f')
        u2 = URL.from_text('http://u@localhost:8080/p/a/t/h?q=p#f')
        self.assertFalse(u1 != u2, "%r == %r" % (u1, u2))

        Structurally similar L{URL}s are not unequal (C{!=}) to each other.
        
stackoverflow/venv/lib/python3.6/site-packages/hyperlink/test/test_url.py