def test_reprNonDefaultSections(self):
        """
        L{dns.Message.__repr__} displays sections which differ from their
        defaults.
        """
        m = self.messageFactory()
        m.queries = [1, 2, 3]
        m.answers = [4, 5, 6]
        m.authority = [7, 8, 9]
        m.additional = [10, 11, 12]
        self.assertEqual(
            '<_EDNSMessage '
            'id=0 '
            'queries=[1, 2, 3] '
            'answers=[4, 5, 6] '
            'authority=[7, 8, 9] '
            'additional=[10, 11, 12]'
            '>',
            repr(m),
        )

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