def test_identicalNotUnequal(self):
        """
        Identical L{URL}s are not unequal (C{!=}) to each other.
        """
        u = URL.fromText('http://localhost/')
        self.assertFalse(u != u, "%r == itself" % u)

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