def test_queries(self):
        """
        Two L{dns._EDNSMessage} instances compare equal if they have the same
        queries.
        """
        self.assertNormalEqualityImplementation(
            self.messageFactory(queries=[dns.Query(b'example.com')]),
            self.messageFactory(queries=[dns.Query(b'example.com')]),
            self.messageFactory(queries=[dns.Query(b'example.org')]),
            )

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