def test_txt(self):
        """
        The repr of a L{dns.Record_TXT} instance includes the data and ttl
        fields of the record.
        """
        self.assertEqual(
            repr(dns.Record_TXT(b"foo", b"bar", ttl=15)),
            "<TXT data=['foo', 'bar'] ttl=15>")

        The repr of a L{dns.Record_TXT} instance includes the data and ttl
        fields of the record.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/test/test_dns.py