def test_name(self):
        """
        Two L{dns.Name} instances compare equal if and only if they have the
        same name value.
        """
        self._equalityTest(
            dns.Name(b'abc'), dns.Name(b'abc'), dns.Name(b'def'))

        Two L{dns.Name} instances compare equal if and only if they have the
        same name value.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/test/test_dns.py