def test_opCode(self):
        """
        Two L{dns.Message} instances compare equal if they have the same opCode
        value.
        """
        self.assertNormalEqualityImplementation(
            self.messageFactory(opCode=10),
            self.messageFactory(opCode=10),
            self.messageFactory(opCode=20),
        )

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