def test_reprNonDefautFields(self):
        """
        L{dns.Message.__repr__} displays field values if they differ from their
        defaults.
        """
        m = dns.Message(id=10, opCode=20, rCode=30, maxSize=40)
        self.assertEqual(
            '<Message '
            'id=10 '
            'opCode=20 '
            'rCode=30 '
            'maxSize=40'
            '>',
            repr(m),
        )

        L{dns.Message.__repr__} displays field values if they differ from their
        defaults.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/test/test_dns.py